Package io.github.jmcleodfoss.pst
Class Header
java.lang.Object
io.github.jmcleodfoss.pst.Header
public class Header extends Object
The Header object is the PST header.
- See Also:
Encryption
,FileFormat
, "[MS-PST] Outlook Personal Folders (.pst) File Format v20110608, section 2.2.2.6", Header (MSDN)
-
Field Summary
Fields Modifier and Type Field Description io.github.jmcleodfoss.pst.BREF
bbtRoot
The location of the root of the block B-tree.io.github.jmcleodfoss.pst.Encryption
encryption
The encryption mechanism used by the PST file.io.github.jmcleodfoss.pst.FileFormat
fileFormat
The file format (ANSI or Unicode) of the PST file.io.github.jmcleodfoss.pst.BREF
nbtRoot
The location of the root of the node B-tree.static long
OFFSET
First byte of the header block. -
Method Summary
-
Field Details
-
OFFSET
public static final long OFFSETFirst byte of the header block.- See Also:
- Constant Field Values
-
fileFormat
public final io.github.jmcleodfoss.pst.FileFormat fileFormatThe file format (ANSI or Unicode) of the PST file. -
encryption
public final io.github.jmcleodfoss.pst.Encryption encryptionThe encryption mechanism used by the PST file. -
nbtRoot
public final io.github.jmcleodfoss.pst.BREF nbtRootThe location of the root of the node B-tree. -
bbtRoot
public final io.github.jmcleodfoss.pst.BREF bbtRootThe location of the root of the block B-tree.
-
-
Method Details
-
size
public int size()Calculate the size of the header block.- Returns:
- The size of the header for this file.
-
toString
Provide a summary of the header in String form. This is typically used for debugging. -
main
Test this class by reading in the PST file header and printing it out.- Parameters:
args
- The command line arguments to the test application.
-