public class Property
extends java.lang.Object
| Constructor | Description |
|---|---|
Property() |
| Modifier and Type | Method | Description |
|---|---|---|
static JSONObject |
toJSONObject(java.util.Properties properties) |
Converts a property file object into a JSONObject.
|
static java.util.Properties |
toProperties(JSONObject jo) |
Converts the JSONObject into a property file object.
|
public static JSONObject toJSONObject(java.util.Properties properties) throws JSONException
properties - java.util.PropertiesJSONExceptionpublic static java.util.Properties toProperties(JSONObject jo) throws JSONException
jo - JSONObjectJSONExceptionCopyright © 2018. All Rights Reserved.