public class RushJSONFile extends RushTextFile
Constructor and Description |
---|
RushJSONFile() |
RushJSONFile(String directory) |
Modifier and Type | Method and Description |
---|---|
String |
fileExtension() |
org.json.JSONObject |
getJSON() |
void |
setJSON(org.json.JSONObject json) |
getText, setText
delete, delete, file, hasFile, readFormFile, writeToFile
getId, save, save, saveOnlyWithoutConflict, saveOnlyWithoutConflict
public RushJSONFile(String directory)
public RushJSONFile()
public String fileExtension()
fileExtension
in class RushTextFile
public void setJSON(org.json.JSONObject json) throws IOException
IOException
public org.json.JSONObject getJSON() throws IOException, org.json.JSONException
IOException
org.json.JSONException
Copyright © 2017. All rights reserved.