|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.document.StructuredDocumentFactory.Instantiator.ExtensionMapping
public static class StructuredDocumentFactory.Instantiator.ExtensionMapping
For mapping between extensions and MIME types.
Constructor Summary | |
---|---|
StructuredDocumentFactory.Instantiator.ExtensionMapping(String extension,
MimeMediaType mimetype)
default constructor |
Method Summary | |
---|---|
boolean |
equals(Object target)
|
String |
getExtension()
Returns the extension which is part of this mapping. |
MimeMediaType |
getMimeMediaType()
Returns the MIME Media Type which is part of this mapping. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StructuredDocumentFactory.Instantiator.ExtensionMapping(String extension, MimeMediaType mimetype)
Method Detail |
---|
public boolean equals(Object target)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public String getExtension()
public MimeMediaType getMimeMediaType()
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |