Method Summary |
|
public static JwmaStatus | createJwmaStatus() Creates the JwmaStatus singleton
instance. |
public String | getDirResolveHint(int directory) Returns the resolve hint, if the directory is not
in the prescribed state.
The method returns an empty string if the directory is
in the prescribed state.
directory, the index of the directory as int. |
public int | getDirectoryCount() Returns the number of observed directories as
int. |
public String | getDirectoryPath(int directory) Returns the full path of the directory as String.
directory, the index of the directory as int. |
public int | getFileCount() Returns the number of observed files as
int. |
public String | getFilePath(int file) Returns the full path of the file as String.
file, the index of the file as int. |
public String | getFileResolveHint(int file) Returns the resolve hint, if the file is not
in the prescribed state.
The method returns an empty string if the directory is
in the prescribed state.
file, the index of the file as int. |
public int | getKernelStatus() Returns the status of the kernel as int. |
public String | getMTAHost() Returns the site's MTA hostaddress
setting. |
public String | getMailTransportLimit() Returns an String representing the maximum
size allowed for a message to be transported via jwma. |
public String | getPostOfficeHost() Returns the site's post office hostaddress
setting. |
public static JwmaStatus | getReference() Returns the reference to the singleton instance. |
public String | getSettingsDump() Returns a dump of the loaded settings file. |
public boolean | isDirectoryOk(int directory) Tests if the given directory is in the prescribed state.
The states are encoded within the
FileStatus class as constants, and prescribed
for the observed directories in the DIRECTORY_TYPES
constant.
directory, the index of the directory as int. |
public boolean | isFileOk(int file) Tests if the given file is in the prescribed state.
The states are encoded within the
FileStatus class as constants, and prescribed
for the observed directories in the FILE_TYPES
constant.
file, the index of the file as int. |
public boolean | isKernelOk() Tests if the kernel is up an running completely. |
public boolean | supportsMixedFolders() Tests if the preset post office supports maildir style
mixture of messages and subfolders. |