com.u2d.json
Class JSON
java.lang.Object
com.u2d.json.JSON
public class JSON
- extends java.lang.Object
Created by IntelliJ IDEA.
User: eitan
Date: Mar 26, 2006
Time: 12:26:25 PM
|
Constructor Summary |
JSON()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSON
public JSON()
writeJson
public static void writeJson(java.io.File file,
ComplexEObject ceo)
throws org.json.JSONException,
java.io.IOException
- Throws:
org.json.JSONException
java.io.IOException
writeJson
public static void writeJson(java.io.File file,
AbstractListEO leo)
throws org.json.JSONException,
java.io.IOException
- Throws:
org.json.JSONException
java.io.IOException
json
public static org.json.JSONObject json(AbstractListEO leo)
throws org.json.JSONException
- Throws:
org.json.JSONException
json
public static org.json.JSONObject json(ComplexEObject eo)
throws org.json.JSONException
- Throws:
org.json.JSONException
fromJsonList
public static AbstractListEO fromJsonList(org.json.JSONObject jso)
throws org.json.JSONException,
java.lang.ClassNotFoundException,
java.text.ParseException
- Throws:
org.json.JSONException
java.lang.ClassNotFoundException
java.text.ParseException
fromJson
public static ComplexEObject fromJson(org.json.JSONObject o)
throws org.json.JSONException,
java.lang.ClassNotFoundException,
java.text.ParseException
- Throws:
org.json.JSONException
java.lang.ClassNotFoundException
java.text.ParseException
readTextFile
public static java.lang.String readTextFile(java.lang.String fullPathFilename)
throws java.io.IOException
- Throws:
java.io.IOException
writeTextFile
public static void writeTextFile(java.lang.String data,
java.lang.String fullPathFilename)
throws java.io.IOException
- Throws:
java.io.IOException