JavaScript is disabled on your browser.
Skip navigation links
org.json

Class Property



  • public class Property
    extends Object 
    Converts a Property file data into JSONObject and back.
    • Constructor Detail

      • Property

        public Property()
    • Method Detail

      • toJSONObject

        public static JSONObject toJSONObject(Properties properties)
         throws JSONException 
        Converts a property file object into a JSONObject. The property file object is a table of name value pairs.
        Parameters:
        properties - java.util.Properties
        Returns:
        JSONObject
        Throws:
        JSONException - if a called function has an error
      • toProperties

        public static Properties toProperties(JSONObject jo)
         throws JSONException 
        Converts the JSONObject into a property file object.
        Parameters:
        jo - JSONObject
        Returns:
        java.util.Properties
        Throws:
        JSONException - if a called function has an error
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /