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, 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
Modifier and Type | Method and Description |
---|---|
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
|
String |
getContentId()
Attachment Content ID
|
Date |
getCreationTime()
Creation time
|
PSTMessage |
getEmbeddedPSTMessage() |
InputStream |
getFileInputStream() |
String |
getFilename()
Attachment (short) filename ASCII or Unicode string
|
int |
getFilesize() |
String |
getLongFilename()
Attachment long filename ASCII or Unicode string
|
String |
getLongPathname()
Attachment long pathname ASCII or Unicode string
|
int |
getMimeSequence()
Attachment mime sequence
|
String |
getMimeTag()
Attachment mime type ASCII or Unicode string
|
Date |
getModificationTime() |
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, decode, 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, printFormattedNumber, printFormattedNumber, printHexFormatted, printHexFormatted, toString
public 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
public int getSize()
public Date getCreationTime()
PSTObject
getCreationTime
in class PSTObject
public Date getModificationTime()
public PSTMessage getEmbeddedPSTMessage() throws IOException, PSTException
IOException
PSTException
public InputStream getFileInputStream() throws IOException, PSTException
IOException
PSTException
public int getFilesize() throws PSTException, IOException
PSTException
IOException
public String getFilename()
public int getAttachMethod()
public int getAttachSize()
public int getAttachNum()
public String getLongFilename()
public String getPathname()
public int getRenderingPosition()
public String getLongPathname()
public String getMimeTag()
public int getMimeSequence()
public String getContentId()
public boolean isAttachmentInvisibleInHtml()
public boolean isAttachmentInvisibleInRTF()
public boolean isAttachmentMhtmlRef()
public String getAttachmentContentDisposition()
Copyright © 2016. All rights reserved.