public class Property extends Object
| Constructor and Description |
|---|
Property() |
| Modifier and Type | Method and Description |
|---|---|
static JSONObject |
toJSONObject(Properties properties)
Converts a property file object into a JSONObject.
|
static Properties |
toProperties(JSONObject jo)
Converts the JSONObject into a property file object.
|
public static JSONObject toJSONObject(Properties properties) throws JSONException
properties - java.util.PropertiesJSONException - if a called function has an errorpublic static Properties toProperties(JSONObject jo) throws JSONException
jo - JSONObjectJSONException - if a called function has an error