com.aspose.network.outlook.pst
Class PersonalStorage

java.lang.Object
  extended by com.aspose.network.outlook.pst.PersonalStorage

public class PersonalStorage
extends Object

Represents Personal Storage Table (.pst) file


Constructor Summary
PersonalStorage()
           
 
Method Summary
 void dispose()
           
 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 fromBytes(byte[] bytes)
          Load from bytes
static PersonalStorage fromFile(String fileName)
          Load from file
static PersonalStorage fromStream(InputStream stream)
          Load from stream
 String getDisplayName()
          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
 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

PersonalStorage

public PersonalStorage()
Method Detail

fromFile

public static PersonalStorage fromFile(String fileName)
                                throws Exception
Load from file

Parameters:
fileName - Name of .pst file
Throws:
Exception

fromStream

public static PersonalStorage fromStream(InputStream stream)
                                  throws Exception
Load from stream

Parameters:
stream -
Throws:
Exception

fromBytes

public static PersonalStorage fromBytes(byte[] bytes)
                                 throws Exception
Load from bytes

Parameters:
bytes -
Throws:
Exception

getRootFolder

public FolderInfo getRootFolder()
Gets the root folder of PST


getMessage

@Deprecated
public MapiMessage getMessage(MessageInfo messageInfo)
                       throws Exception
Deprecated. 

Get the message from PST

Parameters:
messageInfo -
Throws:
Exception

extractMessage

public MapiMessage extractMessage(MessageInfo messageInfo)
                           throws Exception
Get the message from PST

Parameters:
messageInfo -
Throws:
Exception

extractMessage

public MapiMessage extractMessage(byte[] entryId)
                           throws Exception
Get the message from PST

Parameters:
entryId - entry Id
Throws:
Exception

extractMessage

public MapiMessage extractMessage(String entryId)
                           throws Exception
Get the message from PST

Parameters:
entryId - string representation of Entry Id
Throws:
Exception

extractContactInfo

@Deprecated
public MapiContact extractContactInfo(MessageInfo messageInfo)
                               throws Exception
Deprecated. 

Get the contact information from PST

Parameters:
messageInfo - A MessageInfo object that represents information about message
Returns:
A MapiContact object
Throws:
Exception

getFolder

@Deprecated
public FolderInfo getFolder(String name)
                     throws Exception
Deprecated. 

Gets the personal folder from PST

Parameters:
name - Name of personal folder
Throws:
Exception

getFolder

@Deprecated
public FolderInfo getFolder(byte[] entryId)
                     throws Exception
Deprecated. 

Gets the personal folder from PST

Parameters:
entryId - name of Entry id
Throws:
Exception

getFolderById

public FolderInfo getFolderById(byte[] entryId)
                         throws Exception
Gets the personal folder from PST

Parameters:
entryId - name of Entry id
Throws:
Exception

getFolderById

public FolderInfo getFolderById(String entryIdString)
                         throws Exception
Gets the personal folder from PST

Parameters:
entryIdString -
Returns:
String representation of entry ID
Throws:
Exception

getDisplayName

public String getDisplayName()
Display Name of PST


dispose

public void dispose()
             throws Exception
Throws:
Exception


Copyright © 2011 Aspose. All Rights Reserved.