Package com.pff

Class PSTAttachment


  • public class PSTAttachment
    extends PSTObject
    Class containing attachment information
    • Field Detail

      • ATTACHMENT_METHOD_BY_VALUE

        public static final int ATTACHMENT_METHOD_BY_VALUE
        See Also:
        Constant Field Values
      • ATTACHMENT_METHOD_BY_REFERENCE

        public static final int ATTACHMENT_METHOD_BY_REFERENCE
        See Also:
        Constant Field Values
      • ATTACHMENT_METHOD_BY_REFERENCE_RESOLVE

        public static final int ATTACHMENT_METHOD_BY_REFERENCE_RESOLVE
        See Also:
        Constant Field Values
      • ATTACHMENT_METHOD_BY_REFERENCE_ONLY

        public static final int ATTACHMENT_METHOD_BY_REFERENCE_ONLY
        See Also:
        Constant Field Values
      • ATTACHMENT_METHOD_EMBEDDED

        public static final int ATTACHMENT_METHOD_EMBEDDED
        See Also:
        Constant Field Values
    • Method Detail

      • getSize

        public int getSize()
      • getModificationTime

        public java.util.Date getModificationTime()
      • getFileInputStream

        public java.io.InputStream getFileInputStream()
                                               throws java.io.IOException,
                                                      PSTException
        Throws:
        java.io.IOException
        PSTException
      • getFilesize

        public int getFilesize()
                        throws PSTException,
                               java.io.IOException
        Throws:
        PSTException
        java.io.IOException
      • getFilename

        public java.lang.String 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

        public java.lang.String getLongFilename()
        Attachment long filename ASCII or Unicode string
      • getPathname

        public java.lang.String getPathname()
        Attachment (short) pathname ASCII or Unicode string
      • getRenderingPosition

        public int getRenderingPosition()
        Attachment Position Integer 32-bit signed
      • getLongPathname

        public java.lang.String getLongPathname()
        Attachment long pathname ASCII or Unicode string
      • getMimeTag

        public java.lang.String getMimeTag()
        Attachment mime type ASCII or Unicode string
      • getMimeSequence

        public int getMimeSequence()
        Attachment mime sequence
      • getContentId

        public java.lang.String 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

        public java.lang.String getAttachmentContentDisposition()
        Attachment content disposition