|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.plugins.s11n.json.ResSerializer<T>
ccc.plugins.s11n.json.ResourceSerializer<File>
ccc.plugins.s11n.json.FileSerializer
public class FileSerializer
Serializer for Folder
s.
Constructor Summary | |
---|---|
FileSerializer()
|
Method Summary | |
---|---|
protected File |
createObject()
Create a new instance of type T. |
File |
read(Json json)
Deserialize from a representation. |
Json |
write(Json json,
File 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 FileSerializer()
Method Detail |
---|
public File read(Json json)
read
in interface Serializer<File>
read
in class ResourceSerializer<File>
json
- The wire representation.
protected File createObject()
createObject
in class ResSerializer<File>
public Json write(Json json, File instance)
write
in interface Serializer<File>
write
in class ResourceSerializer<File>
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 |