|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.email.PersonalStorage
public class PersonalStorage
Represents Personal Storage Table (.pst) file.
Constructor Summary | |
---|---|
PersonalStorage()
|
Method Summary | |
---|---|
static PersonalStorage |
create(InputStream stream,
int version)
|
static PersonalStorage |
create(String fileName,
int version)
Creates the new PST file with the specified file name. |
void |
dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
MapiContact |
extractContactInfo(MessageInfo messageInfo)
Deprecated. |
MapiMessage |
extractMessage(byte[] entryId)
Get the message from PST. |
MapiMessage |
extractMessage(MessageInfo messageInfo)
Get the message from PST. |
MapiMessage |
extractMessage(String entryId)
Get the message from PST. |
static PersonalStorage |
fromFile(String fileName)
Load PST from file. |
static PersonalStorage |
fromStream(InputStream stream)
|
String |
getDisplayName()
Gets the display Name of PST. |
FolderInfo |
getFolder(byte[] entryId)
Deprecated. |
FolderInfo |
getFolder(String name)
Deprecated. |
FolderInfo |
getFolderById(byte[] entryId)
Gets the personal folder from PST. |
FolderInfo |
getFolderById(String entryIdString)
Gets the personal folder from PST. |
int |
getFormat()
Gets the file format. |
MapiMessage |
getMessage(MessageInfo messageInfo)
Deprecated. |
FolderInfo |
getRootFolder()
Gets the root folder of PST. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersonalStorage()
Method Detail |
---|
public FolderInfo getRootFolder()
Gets the root folder of PST.
Value:FolderInfo
that represents a root folder.
public String getDisplayName()
Gets the display Name of PST.
Value: The string that represents display name.
public int getFormat()
Gets the file format.
Value:FileFormat
that specifies file format.
public static PersonalStorage fromFile(String fileName)
Load PST from file.
fileName
- Name of .pst file.
public static PersonalStorage fromStream(InputStream stream)
public static PersonalStorage create(String fileName, int version)
Creates the new PST file with the specified file name.
fileName
- The full name of the file.version
- The PST file version.
com.aspose.ms.System.NotImplementedException
- throws if ANSI file version is created
com.aspose.ms.System.IllegalArgumentException
- throws if file name is null or emptypublic static PersonalStorage create(InputStream stream, int version)
@Deprecated public MapiMessage getMessage(MessageInfo messageInfo)
Get the message from PST.
messageInfo
- A MessageInfo object that
represents information about message.
public MapiMessage extractMessage(MessageInfo messageInfo)
Get the message from PST.
messageInfo
- A MessageInfo object that
represents information about message.
public MapiMessage extractMessage(byte[] entryId)
Get the message from PST.
entryId
- EntryId of message.
public MapiMessage extractMessage(String entryId)
Get the message from PST.
entryId
- String representation of EntryId.
@Deprecated public MapiContact extractContactInfo(MessageInfo messageInfo)
Get the contact information from PST.
messageInfo
- A MessageInfo object that
represents information about message.
@Deprecated public FolderInfo getFolder(String name)
Gets the personal folder from PST.
name
- Name of personal folder.
@Deprecated public FolderInfo getFolder(byte[] entryId)
Gets the personal folder from PST.
entryId
- The Entry id.
public FolderInfo getFolderById(byte[] entryId)
Gets the personal folder from PST.
entryId
- The Entry id.
public FolderInfo getFolderById(String entryIdString)
Gets the personal folder from PST.
entryIdString
- String representation of entry ID.
public void dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
dispose
in interface com.aspose.ms.System.IDisposable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |