public class JDomProperties extends Properties
defaults| Constructor and Description | 
|---|
| JDomProperties(org.jdom2.Element properties)Constructor for JDomProperties. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getProperty(String key) | 
| String | getProperty(String key,
           String defaultValue) | 
| void | list(PrintStream out) | 
| void | list(PrintWriter out) | 
| void | load(InputStream inStream) | 
| void | load(Reader reader) | 
| void | loadFromXML(InputStream in) | 
| Enumeration<?> | propertyNames() | 
| void | save(OutputStream out,
    String comments) | 
| Object | setProperty(String key,
           String value) | 
| void | store(OutputStream out,
     String comments) | 
| void | store(Writer writer,
     String comments) | 
| void | storeToXML(OutputStream os,
          String comment) | 
| void | storeToXML(OutputStream os,
          String comment,
          String encoding) | 
| Set<String> | stringPropertyNames() | 
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuespublic JDomProperties(org.jdom2.Element properties)
Constructor for JDomProperties.
properties - a Element objectpublic Object setProperty(String key, String value)
setProperty in class Propertiespublic void load(Reader reader) throws IOException
load in class PropertiesIOExceptionpublic void load(InputStream inStream) throws IOException
load in class PropertiesIOExceptionpublic void save(OutputStream out, String comments)
save in class Propertiespublic void store(Writer writer, String comments) throws IOException
store in class PropertiesIOExceptionpublic void store(OutputStream out, String comments) throws IOException
store in class PropertiesIOExceptionpublic void loadFromXML(InputStream in) throws IOException, InvalidPropertiesFormatException
loadFromXML in class PropertiesIOExceptionInvalidPropertiesFormatExceptionpublic void storeToXML(OutputStream os, String comment) throws IOException
storeToXML in class PropertiesIOExceptionpublic void storeToXML(OutputStream os, String comment, String encoding) throws IOException
storeToXML in class PropertiesIOExceptionpublic String getProperty(String key)
getProperty in class Propertiespublic String getProperty(String key, String defaultValue)
getProperty in class Propertiespublic Enumeration<?> propertyNames()
propertyNames in class Propertiespublic Set<String> stringPropertyNames()
stringPropertyNames in class Propertiespublic void list(PrintStream out)
list in class Propertiespublic void list(PrintWriter out)
list in class PropertiesCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.