|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of instances that shall be added.public interface JsonWritable<T extends Jsonable>
JsonWritable
is an interface for adding writable functionality to some Jsonable
storage.
Method Summary | |
---|---|
void |
disableFormattedJson()
Disables formatted Json for this storage. |
void |
enableFormattedJson()
Enables formatted Json for this storage. |
JsonableWriter<T> |
getWriter()
Returns the JsonableWriter that can be used to add instances to this DuDeStorage . |
boolean |
isFormattedJson()
Checks whether formatted Json is enabled in this storage. |
Method Detail |
---|
JsonableWriter<T> getWriter() throws IOException
JsonableWriter
that can be used to add instances to this DuDeStorage
.
JsonableWriter
for adding content to this storage.
IOException
- If an error occurs while writing data.boolean isFormattedJson()
true
, if it is enabled; otherwise false
.void enableFormattedJson()
void disableFormattedJson()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |