Package com.pff

Class PSTAttachment

java.lang.Object
com.pff.PSTObject
com.pff.PSTAttachment

public class PSTAttachment extends PSTObject
Class containing attachment information
  • 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

  • Method Details

    • getSize

      public int getSize()
    • getCreationTime

      public Date getCreationTime()
      Description copied from class: PSTObject
      Creation time
      Overrides:
      getCreationTime in class PSTObject
    • getModificationTime

      public Date getModificationTime()
    • getEmbeddedPSTMessage

      public PSTMessage getEmbeddedPSTMessage() throws IOException, PSTException
      Throws:
      IOException
      PSTException
    • getFileInputStream

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

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

      public 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 String getLongFilename()
      Attachment long filename ASCII or Unicode string
    • getPathname

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

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

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

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

      public int getMimeSequence()
      Attachment mime sequence
    • getContentId

      public 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 String getAttachmentContentDisposition()
      Attachment content disposition