|
Project 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 | |
---|---|
protected Object |
clone()
|
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 |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StructuredDocumentFactory.Instantiator.ExtensionMapping(String extension, MimeMediaType mimetype)
Method Detail |
---|
protected Object clone()
clone
in class Object
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()
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |