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.PropertiesJSONException
public static java.util.Properties toProperties(JSONObject jo) throws JSONException
jo
- JSONObjectJSONException
Copyright © 2018. All Rights Reserved.