Class TNEFProperty


  • public final class TNEFProperty
    extends java.lang.Object
    Holds the list of TNEF Attributes, and allows lookup by friendly name, ID and MAPI Property Name. Note - the types and IDs differ from standard Outlook/MAPI ones, so we can't just re-use the HSMF ones.
    • Field Detail

      • PTYPE_APPTIME

        public static final int PTYPE_APPTIME
        AppTime - application time value
        See Also:
        Constant Field Values
      • PTYPE_BINARY

        public static final int PTYPE_BINARY
        Binary - counted byte array
        See Also:
        Constant Field Values
      • PTYPE_BOOLEAN

        public static final int PTYPE_BOOLEAN
        Boolean - 16-bit Boolean value. '0' is false. Non-zero is true
        See Also:
        Constant Field Values
      • PTYPE_CLASSID

        public static final int PTYPE_CLASSID
        ClassId - OLE GUID
        See Also:
        Constant Field Values
      • PTYPE_CURRENCY

        public static final int PTYPE_CURRENCY
        Currency - signed 64-bit integer that represents a base ten decimal with four digits to the right of the decimal point
        See Also:
        Constant Field Values
      • PTYPE_DOUBLE

        public static final int PTYPE_DOUBLE
        Double - floating point double
        See Also:
        Constant Field Values
      • PTYPE_ERROR

        public static final int PTYPE_ERROR
        Error - 32-bit error value
        See Also:
        Constant Field Values
      • PTYPE_LONG

        public static final int PTYPE_LONG
        Long - signed 32-bit value
        See Also:
        Constant Field Values
      • PTYPE_MULTIVALUED

        public static final int PTYPE_MULTIVALUED
        MultiValued - Value part contains multiple values
        See Also:
        Constant Field Values
      • PTYPE_NULL

        public static final int PTYPE_NULL
        Null - NULL property value
        See Also:
        Constant Field Values
      • PTYPE_OBJECT

        public static final int PTYPE_OBJECT
        Object - embedded object in a property
        See Also:
        Constant Field Values
      • PTYPE_R4

        public static final int PTYPE_R4
        R4 - 4-byte floating point value
        See Also:
        Constant Field Values
      • PTYPE_STRING8

        public static final int PTYPE_STRING8
        String8 - null-terminated 8-bit character string
        See Also:
        Constant Field Values
      • PTYPE_SYSTIME

        public static final int PTYPE_SYSTIME
        SysTime - FILETIME 64-bit integer specifying the number of 100ns periods since Jan 1, 1601
        See Also:
        Constant Field Values
      • PTYPE_UNICODE

        public static final int PTYPE_UNICODE
        Unicode - null-terminated Unicode string
        See Also:
        Constant Field Values
      • PTYPE_UNSPECIFIED

        public static final int PTYPE_UNSPECIFIED
        Unspecified
        See Also:
        Constant Field Values
      • ID_ATTACHCREATEDATE

        public static final TNEFProperty ID_ATTACHCREATEDATE
      • ID_ATTACHDATA

        public static final TNEFProperty ID_ATTACHDATA
      • ID_ATTACHMENT

        public static final TNEFProperty ID_ATTACHMENT
      • ID_ATTACHMETAFILE

        public static final TNEFProperty ID_ATTACHMETAFILE
      • ID_ATTACHMODIFYDATE

        public static final TNEFProperty ID_ATTACHMODIFYDATE
      • ID_ATTACHRENDERDATA

        public static final TNEFProperty ID_ATTACHRENDERDATA
      • ID_ATTACHTITLE

        public static final TNEFProperty ID_ATTACHTITLE
      • ID_ATTACHTRANSPORTFILENAME

        public static final TNEFProperty ID_ATTACHTRANSPORTFILENAME
      • ID_CONVERSATIONID

        public static final TNEFProperty ID_CONVERSATIONID
      • ID_DATEMODIFIED

        public static final TNEFProperty ID_DATEMODIFIED
      • ID_DATERECEIVED

        public static final TNEFProperty ID_DATERECEIVED
      • ID_DATESTART

        public static final TNEFProperty ID_DATESTART
      • ID_MAPIPROPERTIES

        public static final TNEFProperty ID_MAPIPROPERTIES
      • ID_MESSAGECLASS

        public static final TNEFProperty ID_MESSAGECLASS
      • ID_MESSAGEID

        public static final TNEFProperty ID_MESSAGEID
      • ID_MESSAGESTATUS

        public static final TNEFProperty ID_MESSAGESTATUS
      • ID_OEMCODEPAGE

        public static final TNEFProperty ID_OEMCODEPAGE
      • ID_ORIGINALMESSAGECLASS

        public static final TNEFProperty ID_ORIGINALMESSAGECLASS
      • ID_RECIPIENTTABLE

        public static final TNEFProperty ID_RECIPIENTTABLE
      • ID_REQUESTRESPONSE

        public static final TNEFProperty ID_REQUESTRESPONSE
      • ID_TNEFVERSION

        public static final TNEFProperty ID_TNEFVERSION
      • id

        public final int id
        The TNEF Property ID
      • usualType

        public final int usualType
        Usual Type
      • name

        public final java.lang.String name
        Property Name
      • mapiProperty

        public final java.lang.String mapiProperty
        Equivalent MAPI Property
    • Method Detail

      • getBest

        public static TNEFProperty getBest​(int id,
                                           int type)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object