|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Document
A simple typed container for data. A Document
is presented as a
byte stream with an associated type. The data type is specified using a
MIME Media Type (as defined by
IETF RFC 2046 MIME : Media Types).
MimeMediaType
,
StructuredDocument
,
StructuredDocumentFactory
Method Summary | |
---|---|
String |
getFileExtension()
Returns the file extension type used by this Document . |
MimeMediaType |
getMimeType()
Returns the MIME Media type of this Document per
IETF RFC 2046 MIME : Media Types. |
Methods inherited from interface net.jxta.document.DocumentStreamIO |
---|
getStream, sendToStream |
Method Detail |
---|
MimeMediaType getMimeType()
Document
per
IETF RFC 2046 MIME : Media Types.
JXTA does not currently support the 'Multipart
' or
'Message
' media types.
Document
.String getFileExtension()
Document
. This
value is usually chosen based upon the MIME Media Type.
Document
.
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |