public class Property
extends java.lang.Object
Constructor and Description |
---|
Property() |
Modifier and Type | Method and 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 © 2007 Hyfinity Ltd. All Rights Reserved.