public class OrderedProperties extends Properties
Properties
implementation are different between JDK1.8 and later JDKs. At least, Properties have an
individual implementation in JDK10. Hence, there should be an individual putAll method here.
| Constructor and Description |
|---|
OrderedProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Set<Map.Entry<Object,Object>> |
entrySet() |
Enumeration<Object> |
keys() |
Set<Object> |
keySet() |
Enumeration<?> |
propertyNames() |
Object |
put(Object key,
Object value) |
void |
putAll(Map<?,?> t) |
Object |
remove(Object key) |
Set<String> |
stringPropertyNames() |
getProperty, getProperty, list, list, load, load, loadFromXML, save, setProperty, store, store, storeToXML, storeToXMLpublic Set<String> stringPropertyNames()
stringPropertyNames in class Propertiespublic Enumeration<?> propertyNames()
propertyNames in class Propertiespublic void putAll(Map<?,?> t)
public void clear()
Copyright © 2022 Ctrip, Inc.. All rights reserved.