Package org.apache.poi.hmef.attribute
Class MAPIStringAttribute
- java.lang.Object
-
- org.apache.poi.hmef.attribute.MAPIAttribute
-
- org.apache.poi.hmef.attribute.MAPIStringAttribute
-
public final class MAPIStringAttribute extends MAPIAttribute
A pure-MAPI attribute holding a String, which applies to aHMEFMessageor one of itsAttachments.
-
-
Constructor Summary
Constructors Constructor Description MAPIStringAttribute(MAPIProperty property, int type, byte[] data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetAsString(MAPIAttribute attr)Returns the string of a Attribute, converting as appropriateStringgetDataString()StringtoString()-
Methods inherited from class org.apache.poi.hmef.attribute.MAPIAttribute
create, getData, getMaxRecordLength, getProperty, getType, setMaxRecordLength
-
-
-
-
Constructor Detail
-
MAPIStringAttribute
public MAPIStringAttribute(MAPIProperty property, int type, byte[] data)
-
-
Method Detail
-
getDataString
public String getDataString()
-
toString
public String toString()
- Overrides:
toStringin classMAPIAttribute
-
getAsString
public static String getAsString(MAPIAttribute attr)
Returns the string of a Attribute, converting as appropriate
-
-