public class Property
extends java.lang.Object
Constructor and Description |
---|
Property() |
Modifier and Type | Method and Description |
---|---|
static JSONObject |
toJSONObject(Hashtable properties)
Converts a property file object into a JSONObject.
|
static Hashtable |
toProperties(JSONObject jo)
Converts the JSONObject into a property file object.
|
public static JSONObject toJSONObject(Hashtable properties) throws JSONException
properties
- java.util.PropertiesJSONException
public static Hashtable toProperties(JSONObject jo) throws JSONException
jo
- JSONObjectJSONException