|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.plugins.s11n.json.MimeTypeSerializer
public class MimeTypeSerializer
Serializer for MimeTypes.
Constructor Summary | |
---|---|
MimeTypeSerializer()
|
Method Summary | |
---|---|
MimeType |
read(Json json)
Deserialize from a representation. |
Json |
write(Json json,
MimeType instance)
Serialize to representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MimeTypeSerializer()
Method Detail |
---|
public MimeType read(Json json)
read
in interface Serializer<MimeType>
json
- The wire representation.
public Json write(Json json, MimeType instance)
write
in interface Serializer<MimeType>
json
- The wire representation.instance
- The object to serialize.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |