|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pff.PSTFile
public class PSTFile
PSTFile is the containing class that allows you to access items within a .pst file. Start here, get the root of the folders and work your way down through your items.
Field Summary | |
---|---|
static int |
ENCRYPTION_TYPE_COMPRESSIBLE
|
static int |
ENCRYPTION_TYPE_NONE
|
static int |
PS_INTERNET_HEADERS
|
static int |
PS_MAPI
|
static int |
PS_PUBLIC_STRINGS
|
static int |
PSETID_Address
|
static int |
PSETID_AirSync
|
static int |
PSETID_Appointment
|
static int |
PSETID_Common
|
static int |
PSETID_Log
|
static int |
PSETID_Meeting
|
static int |
PSETID_Messaging
|
static int |
PSETID_Note
|
static int |
PSETID_PostRss
|
static int |
PSETID_Sharing
|
static int |
PSETID_Task
|
static int |
PSETID_UnifiedMessaging
|
static int |
PST_TYPE_ANSI
|
protected static int |
PST_TYPE_ANSI_2
|
static int |
PST_TYPE_UNICODE
|
Constructor Summary | |
---|---|
PSTFile(java.io.File fileName)
|
|
PSTFile(java.lang.String fileName)
constructor |
Method Summary | |
---|---|
protected long |
extractLEFileOffset(long startOffset)
Read a file offset from the file PST Files have this tendency to store file offsets (pointers) in 8 little endian bytes. |
protected void |
finalize()
destructor just closes the file handle... |
int |
getEncryptionType()
get the type of encryption the file uses |
java.io.RandomAccessFile |
getFileHandle()
get the handle to the file we are currently accessing |
int |
getLeafSize(long bid)
|
PSTMessageStore |
getMessageStore()
get the message store of the PST file. |
int |
getPSTFileType()
|
PSTFolder |
getRootFolder()
get the root folder for the PST file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ENCRYPTION_TYPE_NONE
public static final int ENCRYPTION_TYPE_COMPRESSIBLE
public static final int PST_TYPE_ANSI
protected static final int PST_TYPE_ANSI_2
public static final int PST_TYPE_UNICODE
public static final int PS_PUBLIC_STRINGS
public static final int PSETID_Common
public static final int PSETID_Address
public static final int PS_INTERNET_HEADERS
public static final int PSETID_Appointment
public static final int PSETID_Meeting
public static final int PSETID_Log
public static final int PSETID_Messaging
public static final int PSETID_Note
public static final int PSETID_PostRss
public static final int PSETID_Task
public static final int PSETID_UnifiedMessaging
public static final int PS_MAPI
public static final int PSETID_AirSync
public static final int PSETID_Sharing
Constructor Detail |
---|
public PSTFile(java.lang.String fileName) throws java.io.FileNotFoundException, PSTException, java.io.IOException
fileName
-
java.io.FileNotFoundException
PSTException
java.io.IOException
public PSTFile(java.io.File fileName) throws java.io.FileNotFoundException, PSTException, java.io.IOException
java.io.FileNotFoundException
PSTException
java.io.IOException
Method Detail |
---|
public int getPSTFileType()
protected void finalize() throws java.io.IOException
finalize
in class java.lang.Object
java.io.IOException
public int getEncryptionType()
public java.io.RandomAccessFile getFileHandle()
public PSTMessageStore getMessageStore() throws PSTException, java.io.IOException
PSTException
java.io.IOException
public PSTFolder getRootFolder() throws PSTException, java.io.IOException
PSTException
java.io.IOException
public int getLeafSize(long bid) throws java.io.IOException, PSTException
java.io.IOException
PSTException
protected long extractLEFileOffset(long startOffset) throws java.io.IOException
in
- handle for PST filestartOffset
- where to read the 8 bytes from
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |