public class PSTAttachment extends PSTObject
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTACHMENT_METHOD_BY_REFERENCE |
static int |
ATTACHMENT_METHOD_BY_REFERENCE_ONLY |
static int |
ATTACHMENT_METHOD_BY_REFERENCE_RESOLVE |
static int |
ATTACHMENT_METHOD_BY_VALUE |
static int |
ATTACHMENT_METHOD_EMBEDDED |
static int |
ATTACHMENT_METHOD_NONE |
static int |
ATTACHMENT_METHOD_OLE |
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 and Description |
|---|
PSTAttachment(PSTFile theFile,
PSTTableBC table,
java.util.HashMap<java.lang.Integer,PSTDescriptorItem> localDescriptorItems) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttachmentContentDisposition()
Attachment content disposition
|
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
|
int |
getAttachNum()
Attachment number
|
int |
getAttachSize()
Attachment size
|
java.lang.String |
getContentId()
Attachment Content ID
|
java.util.Date |
getCreationTime()
Creation time
|
PSTMessage |
getEmbeddedPSTMessage() |
java.io.InputStream |
getFileInputStream() |
java.lang.String |
getFilename()
Attachment (short) filename ASCII or Unicode string
|
int |
getFilesize() |
java.lang.String |
getLongFilename()
Attachment long filename ASCII or Unicode string
|
java.lang.String |
getLongPathname()
Attachment long pathname ASCII or Unicode string
|
int |
getMimeSequence()
Attachment mime sequence
|
java.lang.String |
getMimeTag()
Attachment mime type ASCII or Unicode string
|
java.util.Date |
getModificationTime() |
java.lang.String |
getPathname()
Attachment (short) pathname ASCII or Unicode string
|
int |
getRenderingPosition()
Attachment Position Integer 32-bit signed
|
int |
getSize() |
boolean |
isAttachmentInvisibleInHtml()
Attachment not available in HTML
|
boolean |
isAttachmentInvisibleInRTF()
Attachment not available in RTF
|
boolean |
isAttachmentMhtmlRef()
Attachment is MHTML REF
|
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, toStringpublic static final int ATTACHMENT_METHOD_NONE
public static final int ATTACHMENT_METHOD_BY_VALUE
public static final int ATTACHMENT_METHOD_BY_REFERENCE
public static final int ATTACHMENT_METHOD_BY_REFERENCE_RESOLVE
public static final int ATTACHMENT_METHOD_BY_REFERENCE_ONLY
public static final int ATTACHMENT_METHOD_EMBEDDED
public static final int ATTACHMENT_METHOD_OLE
PSTAttachment(PSTFile theFile, PSTTableBC table, java.util.HashMap<java.lang.Integer,PSTDescriptorItem> localDescriptorItems)
public int getSize()
public java.util.Date getCreationTime()
PSTObjectgetCreationTime in class PSTObjectpublic java.util.Date getModificationTime()
public PSTMessage getEmbeddedPSTMessage() throws java.io.IOException, PSTException
java.io.IOExceptionPSTExceptionpublic java.io.InputStream getFileInputStream()
throws java.io.IOException,
PSTException
java.io.IOExceptionPSTExceptionpublic int getFilesize()
throws PSTException,
java.io.IOException
PSTExceptionjava.io.IOExceptionpublic java.lang.String getFilename()
public int getAttachMethod()
public int getAttachSize()
public int getAttachNum()
public java.lang.String getLongFilename()
public java.lang.String getPathname()
public int getRenderingPosition()
public java.lang.String getLongPathname()
public java.lang.String getMimeTag()
public int getMimeSequence()
public java.lang.String getContentId()
public boolean isAttachmentInvisibleInHtml()
public boolean isAttachmentInvisibleInRTF()
public boolean isAttachmentMhtmlRef()
public java.lang.String getAttachmentContentDisposition()