|
Project JXTA | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MimeMediaType | |
---|---|
net.jxta.credential | Credentials provide the basic mechanisms for securly establishing and communicating identity within JXTA. |
net.jxta.document | JXTA Documents are containers for both structured and unstructured data. |
net.jxta.endpoint | Provides interfaces and classes used for the addressing, filtering, sending, and receiving of messages within JXTA. |
net.jxta.protocol | Provides inteface objects for Advertisments and protocol messages for the JXTA Core and Standard Protocols. |
Uses of MimeMediaType in net.jxta.credential |
---|
Methods in net.jxta.credential with parameters of type MimeMediaType | |
---|---|
StructuredDocument |
AuthenticationCredential.getDocument(MimeMediaType as)
Write credential into a document. as is a mime media-type specification and provides the form of the document which is being requested. |
StructuredDocument |
Credential.getDocument(MimeMediaType asMimeType)
Write credential into a document. |
Uses of MimeMediaType in net.jxta.document |
---|
Fields in net.jxta.document declared as MimeMediaType | |
---|---|
static MimeMediaType |
MimeMediaType.AOS
Common Mime Media Type for arbitrary unparsed data. |
static MimeMediaType |
MimeMediaType.TEXT_DEFAULTENCODING
Common Mime Media Type for text encoded using the default character encoding for this JVM. |
static MimeMediaType |
MimeMediaType.TEXTUTF8
Common Mime Media Type for plain text encoded as UTF-8 characters. |
static MimeMediaType |
MimeMediaType.XML_DEFAULTENCODING
Common Mime Media Type for XML encoded using the default character encoding for this JVM. |
static MimeMediaType |
MimeMediaType.XMLUTF8
Common Mime Media Type for XML encoded as UTF-8 characters. |
Methods in net.jxta.document that return MimeMediaType | |
---|---|
MimeMediaType |
StructuredDocumentFactory.Instantiator.ExtensionMapping.getMimeMediaType()
returns the MIME Media Type which is part of this mapping. |
MimeMediaType |
Document.getMimeType()
Returns the MIME Media type of this Document per
IETF RFC 2046 MIME : Media Types. |
static MimeMediaType |
StructuredDocumentFactory.getMimeTypeForFileExtension(String extension)
Returns the prefered mime-type for a given file extension. |
MimeMediaType[] |
StructuredDocumentFactory.Instantiator.getSupportedMimeTypes()
Returns the MIME Media types supported by this this Document per IETF RFC 2046 MIME : Media Types. |
MimeMediaType |
MimeMediaType.intern()
Returns a canonical representation for the MimeMediaType object. |
static MimeMediaType |
MimeMediaType.valueOf(String mimetype)
Returns a MimeMediaType with a value represented by the specified String. |
Methods in net.jxta.document with parameters of type MimeMediaType | |
---|---|
abstract Document |
Advertisement.getDocument(MimeMediaType asMimeType)
Write advertisement into a document. |
Document |
ExtendableAdvertisement.getDocument(MimeMediaType encodeAs)
Write advertisement into a document. We don't have any content to add, just build the document instance and return it to implementations that actually do something with it. |
static String |
StructuredDocumentFactory.getFileExtensionForMimeType(MimeMediaType mimetype)
Returns the prefered extension for a given mime-type. |
static Advertisement |
AdvertisementFactory.newAdvertisement(MimeMediaType mimetype,
InputStream stream)
Constructs an instance of Advertisement from the provided
InputStream . |
static Advertisement |
AdvertisementFactory.newAdvertisement(MimeMediaType mimetype,
Reader source)
Constructs an instance of Advertisement from the provided
Reader . |
StructuredDocument |
StructuredDocumentFactory.Instantiator.newInstance(MimeMediaType mimeType,
InputStream source)
Create a structured document from a stream containing an appropriately serialized instance of the same document. |
StructuredDocument |
StructuredDocumentFactory.TextInstantiator.newInstance(MimeMediaType mimeType,
Reader source)
Create a structured document from a Reader containing an appropriately serialized instance of the same document. |
StructuredDocument |
StructuredDocumentFactory.Instantiator.newInstance(MimeMediaType mimeType,
String doctype)
Create a new structured document of the type specified by doctype. |
StructuredDocument |
StructuredDocumentFactory.Instantiator.newInstance(MimeMediaType mimeType,
String doctype,
String value)
Create a new structured document of the type specified by doctype. |
static StructuredDocument |
StructuredDocumentFactory.newStructuredDocument(MimeMediaType mimetype,
InputStream stream)
Constructs an instance of StructuredDocument matching
the mime-type specified by the mimetype parameter. |
static StructuredDocument |
StructuredDocumentFactory.newStructuredDocument(MimeMediaType mimetype,
Reader reader)
Constructs an instance of StructuredDocument matching
the mime-type specified by the mimetype parameter. |
static StructuredDocument |
StructuredDocumentFactory.newStructuredDocument(MimeMediaType mimetype,
String doctype)
Constructs an instance of StructuredDocument matching
the mime-type specified by the mimetype parameter. |
static StructuredDocument |
StructuredDocumentFactory.newStructuredDocument(MimeMediaType mimetype,
String doctype,
String value)
Constructs an instance of StructuredDocument matching
the mime-type specified by the mimetype parameter. |
static boolean |
StructuredDocumentFactory.registerInstantiator(MimeMediaType mimetype,
StructuredDocumentFactory.Instantiator instantiator)
Register an instantiator object a mime-type of documents to be constructed. |
Constructors in net.jxta.document with parameters of type MimeMediaType | |
---|---|
MimeMediaType(MimeMediaType type,
String params,
boolean replace)
Creates a new type/subtype MimeMediaType with the specified parameters. |
|
StructuredDocumentFactory.Instantiator.ExtensionMapping(String extension,
MimeMediaType mimetype)
default constructor |
Uses of MimeMediaType in net.jxta.endpoint |
---|
Fields in net.jxta.endpoint declared as MimeMediaType | |
---|---|
protected MimeMediaType |
MessageElement.type
The type of this element. |
Methods in net.jxta.endpoint that return MimeMediaType | |
---|---|
MimeMediaType |
MessageElement.getMimeType()
Returns the MIME Media type of this Document per
IETF RFC 2046 MIME : Media Types.
Will return "Application/Octet-Stream" if no type was originally
specified. |
MimeMediaType |
TextDocumentMessageElement.getMimeType()
Returns the MIME Media type of this Document per
IETF RFC 2046 MIME : Media Types.
JXTA does not currently support the 'Multipart ' or
'Message ' media types.
Will return "Application/Octet-Stream" if no type was originally
specified. |
Methods in net.jxta.endpoint with parameters of type MimeMediaType | |
---|---|
Message.ElementIterator |
Message.getMessageElements(MimeMediaType type)
Returns a list iterator of all of the elements contained in this message whose mime-type matchs the given in the order they were added to the message. |
Message.ElementIterator |
Message.getMessageElements(String namespace,
MimeMediaType type)
Returns a list iterator of all of the elements contained in this message whose type matches the given in the order they were added to the message. |
Constructors in net.jxta.endpoint with parameters of type MimeMediaType | |
---|---|
ByteArrayMessageElement(String name,
MimeMediaType type,
byte[] b,
int offset,
int len,
MessageElement sig)
Create a new Element, but dont add it to the message. |
|
ByteArrayMessageElement(String name,
MimeMediaType type,
byte[] b,
int offset,
MessageElement sig)
Create a new MessageElement, The contents of the provided byte array are not copied during construction. |
|
ByteArrayMessageElement(String name,
MimeMediaType type,
byte[] b,
MessageElement sig)
Create a new Message Element. |
|
InputStreamMessageElement(String name,
MimeMediaType type,
InputStream in,
long len,
MessageElement sig)
Create a new Message Element. |
|
InputStreamMessageElement(String name,
MimeMediaType type,
InputStream in,
MessageElement sig)
Create a new MessageElement. |
|
MessageElement(String name,
MimeMediaType type,
MessageElement sig)
Internal constructor for initializaing everything but the data. |
|
TextMessageElement(String name,
MimeMediaType type,
MessageElement sig)
Internal constructor for initializaing everything but the data. |
Uses of MimeMediaType in net.jxta.protocol |
---|
Methods in net.jxta.protocol with parameters of type MimeMediaType | |
---|---|
abstract Document |
DiscoveryQueryMsg.getDocument(MimeMediaType asMimeType)
Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. |
abstract Document |
DiscoveryResponseMsg.getDocument(MimeMediaType asMimeType)
Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. |
abstract Document |
LimitedRangeRdvMessage.getDocument(MimeMediaType asMimeType)
Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. |
abstract Document |
PeerInfoQueryMessage.getDocument(MimeMediaType encodeAs)
|
abstract Document |
PeerInfoResponseMessage.getDocument(MimeMediaType encodeAs)
|
abstract Document |
PipeResolverMessage.getDocument(MimeMediaType asMimeType)
Write message into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. |
abstract Document |
ResolverQueryMsg.getDocument(MimeMediaType asMimeType)
Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. |
abstract Document |
ResolverResponseMsg.getDocument(MimeMediaType asMimeType)
Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. |
abstract Document |
ResolverSrdiMsg.getDocument(MimeMediaType asMimeType)
Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. |
abstract Document |
RouteQueryMsg.getDocument(MimeMediaType asMimeType)
Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. |
abstract Document |
RouteResponseMsg.getDocument(MimeMediaType asMimeType)
Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. |
abstract Document |
SrdiMessage.getDocument(MimeMediaType asMimeType)
Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. |
|
JXTA J2SE | |||||||||
PREV NEXT | FRAMES NO FRAMES |