public final class TNEFDateAttribute extends TNEFAttribute
HMEFMessage
or one of its Attachments.| Modifier | Constructor and Description |
|---|---|
protected |
TNEFDateAttribute(int id,
int type,
java.io.InputStream inp)
Constructs a single new date attribute from the id, type,
and the contents of the stream
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Date |
getAsDate(TNEFAttribute attr)
Returns the Date of a Attribute, converting as appropriate
|
java.util.Date |
getDate() |
java.lang.String |
toString() |
create, getData, getProperty, getTypeprotected TNEFDateAttribute(int id,
int type,
java.io.InputStream inp)
throws java.io.IOException
java.io.IOExceptionpublic java.util.Date getDate()
public java.lang.String toString()
toString in class TNEFAttributepublic static java.util.Date getAsDate(TNEFAttribute attr)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.