Package com.pff
Class PSTAttachment
java.lang.Object
com.pff.PSTObject
com.pff.PSTAttachment
Class containing attachment information
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.pff.PSTObject
children, compEnc, data, descriptorIndexNode, items, localDescriptorItems, NID_TYPE_ASSOC_CONTENTS_TABLE, NID_TYPE_ASSOC_MESSAGE, NID_TYPE_ATTACHMENT, NID_TYPE_ATTACHMENT_TABLE, NID_TYPE_CONTENTS_TABLE, NID_TYPE_CONTENTS_TABLE_INDEX, NID_TYPE_HID, NID_TYPE_HIERARCHY_TABLE, NID_TYPE_INTERNAL, NID_TYPE_LTP, NID_TYPE_NORMAL_FOLDER, NID_TYPE_NORMAL_MESSAGE, NID_TYPE_OUTGOING_QUEUE_TABLE, NID_TYPE_RECEIVE_FOLDER_TABLE, NID_TYPE_RECIPIENT_TABLE, NID_TYPE_SEARCH_CONTENTS_TABLE, NID_TYPE_SEARCH_CRITERIA_OBJECT, NID_TYPE_SEARCH_FOLDER, NID_TYPE_SEARCH_TABLE_INDEX, NID_TYPE_SEARCH_UPDATE_QUEUE, pstFile, table -
Constructor Summary
ConstructorsConstructorDescriptionPSTAttachment(PSTFile theFile, PSTTableBC table, HashMap<Integer, PSTDescriptorItem> localDescriptorItems) -
Method Summary
Modifier and TypeMethodDescriptionAttachment content dispositionintAttachment method Integer 32-bit signed 0 => None (No attachment) 1 => By value 2 => By reference 3 => By reference resolve 4 => By reference only 5 => Embedded message 6 => OLEintAttachment numberintAttachment sizeAttachment Content IDCreation timeAttachment (short) filename ASCII or Unicode stringintAttachment long filename ASCII or Unicode stringAttachment long pathname ASCII or Unicode stringintAttachment mime sequenceAttachment mime type ASCII or Unicode stringAttachment (short) pathname ASCII or Unicode stringintAttachment Position Integer 32-bit signedintgetSize()booleanAttachment not available in HTMLbooleanAttachment not available in RTFbooleanAttachment is MHTML REFMethods inherited from class com.pff.PSTObject
apptTimeToCalendar, apptTimeToUTC, convertBigEndianBytesToLong, convertLittleEndianBytesToLong, convertLittleEndianBytesToLong, createAppropriatePSTMessageObject, createJavaString, decode, detectAndLoadPSTObject, detectAndLoadPSTObject, encode, filetimeToDate, getAddrType, getBinaryItem, getBooleanItem, getBooleanItem, getComment, getDateItem, getDescriptorNode, getDescriptorNodeId, getDisplayName, getDoubleItem, getDoubleItem, getEmailAddress, getIntItem, getIntItem, getItemsString, getLastModificationTime, getLongItem, getLongItem, getMessageClass, getNodeType, getNodeType, getStringItem, getStringItem, getStringItem, getTimeZoneItem, guessPSTObjectType, printFormattedNumber, printFormattedNumber, printHexFormatted, printHexFormatted, toString
-
Field Details
-
ATTACHMENT_METHOD_NONE
public static final int ATTACHMENT_METHOD_NONE- See Also:
-
ATTACHMENT_METHOD_BY_VALUE
public static final int ATTACHMENT_METHOD_BY_VALUE- See Also:
-
ATTACHMENT_METHOD_BY_REFERENCE
public static final int ATTACHMENT_METHOD_BY_REFERENCE- See Also:
-
ATTACHMENT_METHOD_BY_REFERENCE_RESOLVE
public static final int ATTACHMENT_METHOD_BY_REFERENCE_RESOLVE- See Also:
-
ATTACHMENT_METHOD_BY_REFERENCE_ONLY
public static final int ATTACHMENT_METHOD_BY_REFERENCE_ONLY- See Also:
-
ATTACHMENT_METHOD_EMBEDDED
public static final int ATTACHMENT_METHOD_EMBEDDED- See Also:
-
ATTACHMENT_METHOD_OLE
public static final int ATTACHMENT_METHOD_OLE- See Also:
-
-
Constructor Details
-
PSTAttachment
PSTAttachment(PSTFile theFile, PSTTableBC table, HashMap<Integer, PSTDescriptorItem> localDescriptorItems)
-
-
Method Details
-
getSize
public int getSize() -
getCreationTime
Description copied from class:PSTObjectCreation time- Overrides:
getCreationTimein classPSTObject
-
getModificationTime
-
getEmbeddedPSTMessage
- Throws:
IOExceptionPSTException
-
getFileInputStream
- Throws:
IOExceptionPSTException
-
getFilesize
- Throws:
PSTExceptionIOException
-
getFilename
Attachment (short) filename ASCII or Unicode string -
getAttachMethod
public int getAttachMethod()Attachment method Integer 32-bit signed 0 => None (No attachment) 1 => By value 2 => By reference 3 => By reference resolve 4 => By reference only 5 => Embedded message 6 => OLE -
getAttachSize
public int getAttachSize()Attachment size -
getAttachNum
public int getAttachNum()Attachment number -
getLongFilename
Attachment long filename ASCII or Unicode string -
getPathname
Attachment (short) pathname ASCII or Unicode string -
getRenderingPosition
public int getRenderingPosition()Attachment Position Integer 32-bit signed -
getLongPathname
Attachment long pathname ASCII or Unicode string -
getMimeTag
Attachment mime type ASCII or Unicode string -
getMimeSequence
public int getMimeSequence()Attachment mime sequence -
getContentId
Attachment Content ID -
isAttachmentInvisibleInHtml
public boolean isAttachmentInvisibleInHtml()Attachment not available in HTML -
isAttachmentInvisibleInRTF
public boolean isAttachmentInvisibleInRTF()Attachment not available in RTF -
isAttachmentMhtmlRef
public boolean isAttachmentMhtmlRef()Attachment is MHTML REF -
getAttachmentContentDisposition
Attachment content disposition
-