Package org.apache.maven.settings
Class WrapperProperties
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface(package private) static interface -
Field Summary
FieldsFields inherited from class java.util.Properties
defaults -
Constructor Summary
ConstructorsConstructorDescriptionWrapperProperties(Supplier<Map<String, String>> getter, Consumer<Properties> setter) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()compute(Object key, BiFunction<? super Object, ? super Object, ?> remappingFunction) computeIfAbsent(Object key, Function<? super Object, ?> mappingFunction) computeIfPresent(Object key, BiFunction<? super Object, ? super Object, ?> remappingFunction) booleanbooleancontainsKey(Object key) booleancontainsValue(Object value) elements()entrySet()booleanvoidforEach(BiConsumer<? super Object, ? super Object> action) getOrDefault(Object key, Object defaultValue) getProperty(String key) getProperty(String key, String defaultValue) inthashCode()booleanisEmpty()keys()keySet()voidlist(PrintStream out) voidlist(PrintWriter out) voidload(InputStream inStream) voidvoidEnumeration<?> voidputIfAbsent(Object key, Object value) booleanbooleanvoidreplaceAll(BiFunction<? super Object, ? super Object, ?> function) voidsave(OutputStream out, String comments) setProperty(String key, String value) intsize()voidstore(OutputStream out, String comments) voidvoidstoreToXML(OutputStream os, String comment) voidstoreToXML(OutputStream os, String comment, String encoding) toString()values()private <T> TwriteOperation(WrapperProperties.WriteOp<T> runner) private voidprivate ObjectMethods inherited from class java.util.Properties
clone, rehash, storeToXML
-
Field Details
-
getter
-
setter
-
-
Constructor Details
-
WrapperProperties
-
-
Method Details
-
getProperty
- Overrides:
getPropertyin classProperties
-
getProperty
- Overrides:
getPropertyin classProperties
-
propertyNames
- Overrides:
propertyNamesin classProperties
-
stringPropertyNames
- Overrides:
stringPropertyNamesin classProperties
-
list
- Overrides:
listin classProperties
-
list
- Overrides:
listin classProperties
-
size
public int size() -
isEmpty
public boolean isEmpty() -
keys
- Overrides:
keysin classProperties
-
elements
- Overrides:
elementsin classProperties
-
contains
- Overrides:
containsin classProperties
-
containsValue
- Specified by:
containsValuein interfaceMap<Object,Object> - Overrides:
containsValuein classProperties
-
containsKey
- Specified by:
containsKeyin interfaceMap<Object,Object> - Overrides:
containsKeyin classProperties
-
get
-
toString
- Overrides:
toStringin classProperties
-
keySet
-
values
-
entrySet
-
equals
-
hashCode
public int hashCode() -
getOrDefault
- Specified by:
getOrDefaultin interfaceMap<Object,Object> - Overrides:
getOrDefaultin classProperties
-
forEach
-
writeOperation
-
writeOperationVoid
-
setProperty
- Overrides:
setPropertyin classProperties
-
put
-
remove
-
putAll
-
clear
public void clear() -
replaceAll
- Specified by:
replaceAllin interfaceMap<Object,Object> - Overrides:
replaceAllin classProperties
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceMap<Object,Object> - Overrides:
putIfAbsentin classProperties
-
remove
-
replace
-
replace
-
computeIfAbsent
- Specified by:
computeIfAbsentin interfaceMap<Object,Object> - Overrides:
computeIfAbsentin classProperties
-
computeIfPresent
public Object computeIfPresent(Object key, BiFunction<? super Object, ? super Object, ?> remappingFunction) - Specified by:
computeIfPresentin interfaceMap<Object,Object> - Overrides:
computeIfPresentin classProperties
-
compute
-
merge
-
load
- Overrides:
loadin classProperties- Throws:
IOException
-
load
- Overrides:
loadin classProperties- Throws:
IOException
-
save
- Overrides:
savein classProperties
-
store
- Overrides:
storein classProperties- Throws:
IOException
-
store
- Overrides:
storein classProperties- Throws:
IOException
-
loadFromXML
- Overrides:
loadFromXMLin classProperties- Throws:
IOExceptionInvalidPropertiesFormatException
-
storeToXML
- Overrides:
storeToXMLin classProperties- Throws:
IOException
-
storeToXML
- Overrides:
storeToXMLin classProperties- Throws:
IOException
-
writeReplace
- Throws:
ObjectStreamException
-