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 java.lang.StringgetAsString(MAPIAttribute attr)Returns the string of a Attribute, converting as appropriatejava.lang.StringgetDataString()java.lang.StringtoString()-
Methods inherited from class org.apache.poi.hmef.attribute.MAPIAttribute
create, getData, getProperty, getType
-
-
-
-
Constructor Detail
-
MAPIStringAttribute
public MAPIStringAttribute(MAPIProperty property, int type, byte[] data)
-
-
Method Detail
-
getDataString
public java.lang.String getDataString()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classMAPIAttribute
-
getAsString
public static java.lang.String getAsString(MAPIAttribute attr)
Returns the string of a Attribute, converting as appropriate
-
-