| java.lang.Object net.wastl.webmail.server.Storage net.wastl.webmail.storage.FileStorage
All known Subclasses: net.wastl.webmail.storage.simple.SimpleStorage,
FileStorage | abstract public class FileStorage extends Storage implements ConfigurationListener(Code) | | This is the FileStorage class is common to all other storage classes in WebMail
It provides means of getting and storing data in ZIPFiles and ResourceBundles,
for example HTML-templates, binary files and MIME-types
See Also: Storage author: Sebastian Schaffert |
file_cache_size | protected int file_cache_size(Code) | | |
FileStorage | public FileStorage(WebMailServer parent)(Code) | | Initialize SimpleStorage.
Fetch Configuration Information etc.
|
getBinaryFile | public synchronized byte[] getBinaryFile(String name, Locale locale, String theme) throws BinaryNotFoundException(Code) | | Get a binary file for the specified locale.
Parameters: key - Identifier for the String Parameters: locale - locale of the String to fetch |
getStringResource | public String getStringResource(String key, Locale locale)(Code) | | Get the String for key and the specified locale.
Parameters: key - Identifier for the String Parameters: locale - locale of the String to fetch |
initAuth | protected void initAuth()(Code) | | |
initCache | protected void initCache()(Code) | | |
initConfig | abstract protected void initConfig()(Code) | | initialize XMLSystemData sysdata
|
initLanguages | protected void initLanguages()(Code) | | |
initLog | protected void initLog()(Code) | | |
initMIME | protected void initMIME()(Code) | | |
log | public synchronized void log(int level, String message)(Code) | | Send a message to the logging facility.
Parameters: level - severity level of the message Parameters: message - the message |
log | public synchronized void log(int level, Exception ex)(Code) | | Send a message to the logging facility.
Parameters: level - severity level of the message Parameters: message - the message |
notifyConfigurationChange | public void notifyConfigurationChange(String key)(Code) | | |
shutdown | public void shutdown()(Code) | | |
Methods inherited from net.wastl.webmail.server.Storage | abstract public XMLUserData createUserData(String user, String domain, String password) throws CreateUserDataException(Code)(Java Doc) public WebMailVirtualDomain createVirtualDomain(String name) throws Exception(Code)(Java Doc) public XMLAdminModel createXMLAdminModel() throws WebMailException(Code)(Java Doc) public XMLGenericModel createXMLGenericModel() throws WebMailException(Code)(Java Doc) public XMLUserModel createXMLUserModel(XMLUserData data) throws WebMailException(Code)(Java Doc) abstract public void deleteUserData(String user, String domain)(Code)(Java Doc) public void deleteUserData(String user)(Code)(Java Doc) public void deleteVirtualDomain(String name)(Code)(Java Doc) abstract public Authenticator getAuthenticator()(Code)(Java Doc) public String getBasePath(Locale locale, String theme)(Code)(Java Doc) abstract public byte[] getBinaryFile(String name, Locale locale, String theme) throws BinaryNotFoundException(Code)(Java Doc) public String getConfig(String key)(Code)(Java Doc) public Enumeration getConfigKeys()(Code)(Java Doc) public boolean getDebug()(Code)(Java Doc) public String getMimeType(String name)(Code)(Java Doc) abstract public String getStringResource(String key, Locale locale)(Code)(Java Doc) abstract public Templates getStylesheet(String name, Locale locale, String theme) throws WebMailException(Code)(Java Doc) public XMLSystemData getSystemData()(Code)(Java Doc) public XMLUserData getUserData(String user, String domain, String passwd) throws UserDataException, InvalidPasswordException(Code)(Java Doc) abstract public XMLUserData getUserData(String user, String domain, String password, boolean authenticate) throws UserDataException, InvalidPasswordException(Code)(Java Doc) abstract public Enumeration getUsers(String domain)(Code)(Java Doc) public Enumeration getUsers()(Code)(Java Doc) public WebMailVirtualDomain getVirtualDomain(String name)(Code)(Java Doc) public Enumeration getVirtualDomains()(Code)(Java Doc) public void initConfigKeys()(Code)(Java Doc) abstract protected void loadXMLSysData()(Code)(Java Doc) abstract public void log(int level, String message)(Code)(Java Doc) abstract public void log(int level, Exception ex)(Code)(Java Doc) public void save()(Code)(Java Doc) abstract public void saveUserData(String user, String domain)(Code)(Java Doc) abstract protected void saveXMLSysData()(Code)(Java Doc) public void setConfig(String key, String value) throws IllegalArgumentException(Code)(Java Doc) public void setDebug(boolean b)(Code)(Java Doc) public void setUserData(String user, UserData userdata)(Code)(Java Doc) public void setVirtualDomain(String name, WebMailVirtualDomain v)(Code)(Java Doc) abstract public void shutdown()(Code)(Java Doc)
|
|
|