Package org.apache.poi.hmef.attribute
Class TNEFStringAttribute
- java.lang.Object
-
- org.apache.poi.hmef.attribute.TNEFAttribute
-
- org.apache.poi.hmef.attribute.TNEFStringAttribute
-
public final class TNEFStringAttribute extends TNEFAttribute
A String attribute which applies to aHMEFMessageor one of itsAttachments.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTNEFStringAttribute(int id, int type, InputStream inp)Constructs a single new string attribute from the id, type, and the contents of the stream
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetAsString(TNEFAttribute attr)Returns the string of a Attribute, converting as appropriateStringgetString()StringtoString()-
Methods inherited from class org.apache.poi.hmef.attribute.TNEFAttribute
create, getData, getMaxRecordLength, getProperty, getType, setMaxRecordLength
-
-
-
-
Constructor Detail
-
TNEFStringAttribute
protected TNEFStringAttribute(int id, int type, InputStream inp) throws IOExceptionConstructs a single new string attribute from the id, type, and the contents of the stream- Throws:
IOException
-
-
Method Detail
-
getString
public String getString()
-
toString
public String toString()
- Overrides:
toStringin classTNEFAttribute
-
getAsString
public static String getAsString(TNEFAttribute attr)
Returns the string of a Attribute, converting as appropriate
-
-