|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.hunnysoft.jmime.TnefAttachment
public class TnefAttachment
Class that represents a TNEF file attachment.
TnefAttachment is a simple "struct" type class that contains the information about a file attachment extracted from a TNEF container. The information includes the file name, and the content of the attachment. The class provides "getter" functions to get the file attachment data.
| Constructor Summary | |
|---|---|
TnefAttachment(java.lang.String fileName,
ByteString content)
Constructor that takes an initial value. |
|
| Method Summary | |
|---|---|
ByteString |
content()
Gets the content of the file attachment. |
java.lang.String |
fileName()
Gets the attachment file name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TnefAttachment(java.lang.String fileName,
ByteString content)
fileName - the attachment's file namecontent - the attachment's content| Method Detail |
|---|
public java.lang.String fileName()
public ByteString content()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||