public class OEReader
extends java.lang.Object
header,
and loading a list of messages to be used by the application, or a list of
folderinfos to be used by the application.| Modifier and Type | Field and Description |
|---|---|
OEFileHeader |
header
FileHeader of the file |
OEFileInfo |
info
FileInfo of the file |
| Constructor and Description |
|---|
OEReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes a previously opened file.
|
java.util.List<OEFolderInfo> |
getFolders()
Gets a list of all
OEFolderInfo objects from the opened file. |
java.util.List<OEMessageInfo> |
getMessages()
Gets a list of all
OEMessageInfo objects from the opened file. |
boolean |
open(java.io.File file)
Opens a file, given the
File, and reads the header information. |
boolean |
open(java.lang.String file)
Opens a file, given the name, and reads the header information.
|
public OEFileHeader header
FileHeader of the filepublic OEFileInfo info
FileInfo of the filepublic boolean open(java.lang.String file)
file - name of the .dbx filepublic boolean open(java.io.File file)
File, and reads the header information.file - File of the .dbx filepublic void close()
public java.util.List<OEMessageInfo> getMessages() throws java.lang.Exception
OEMessageInfo objects from the opened file.OEMessageInfo objectsjava.lang.Exceptionpublic java.util.List<OEFolderInfo> getFolders() throws java.lang.Exception
OEFolderInfo objects from the opened file.OEFolderInfo objectsjava.lang.Exception