Class JDomProperties
java.lang.Object
java.util.Dictionary<Object,Object>
java.util.Hashtable<Object,Object>
java.util.Properties
org.apache.maven.shared.release.transform.jdom.JDomProperties
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,
Object>
JDom implementation of poms PROPERTIES element
- Since:
- 3.0
- See Also:
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class java.util.Properties
defaults
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String key) getProperty
(String key, String defaultValue) void
list
(PrintStream out) void
list
(PrintWriter out) void
load
(InputStream inStream) void
void
Enumeration
<?> void
save
(OutputStream out, String comments) setProperty
(String key, String value) void
store
(OutputStream out, String comments) void
void
storeToXML
(OutputStream os, String comment) void
storeToXML
(OutputStream os, String comment, String encoding) Methods inherited from class java.util.Hashtable
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, values
-
Field Details
-
properties
private final org.jdom.Element properties
-
-
Constructor Details
-
JDomProperties
public JDomProperties(org.jdom.Element properties)
-
-
Method Details
-
setProperty
- Overrides:
setProperty
in classProperties
-
load
- Overrides:
load
in classProperties
- Throws:
IOException
-
load
- Overrides:
load
in classProperties
- Throws:
IOException
-
save
- Overrides:
save
in classProperties
-
store
- Overrides:
store
in classProperties
- Throws:
IOException
-
store
- Overrides:
store
in classProperties
- Throws:
IOException
-
loadFromXML
- Overrides:
loadFromXML
in classProperties
- Throws:
IOException
InvalidPropertiesFormatException
-
storeToXML
- Overrides:
storeToXML
in classProperties
- Throws:
IOException
-
storeToXML
- Overrides:
storeToXML
in classProperties
- Throws:
IOException
-
getProperty
- Overrides:
getProperty
in classProperties
-
getProperty
- Overrides:
getProperty
in classProperties
-
propertyNames
- Overrides:
propertyNames
in classProperties
-
stringPropertyNames
- Overrides:
stringPropertyNames
in classProperties
-
list
- Overrides:
list
in classProperties
-
list
- Overrides:
list
in classProperties
-