FileDatastoreAccesspublic interface DatastoreAccess
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
read(java.io.File file) |
Read the file from the data store.
|
void |
write(java.io.File file,
java.lang.String json) |
Write a json string to a new or existing file.
|
java.lang.String read(java.io.File file)
throws java.io.IOException
file - to be readjava.io.IOException - exceptionvoid write(java.io.File file,
java.lang.String json)
throws java.io.IOException
file - to be writtenjson - to be savedjava.io.IOException - exception