Map access to the system properties. Any attempt to modify it will throw
UnsupportedOperationException. The mapper uses the SYSPROPS_MAPPED_PREFIX to filter and access' only
these properties, ignoring all others
| Modifier and Type | Field and Description |
|---|---|
| public static final SyspropsMapWrapper | INSTANCE
The one and only wrapper instance |
| public static final PropertyResolver | RAW_PROPS_RESOLVER
Exposes the "raw" system properties as a |
| public static final String | SYSPROPS_MAPPED_PREFIX
Prefix of properties used by the mapper to identify SSHD related settings |
| public static final PropertyResolver | SYSPROPS_RESOLVER
A |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements java. Removes all of the mappings from this map (optional operation). |
| public boolean | containsKey(Object
key whose presence in this map is to be tested key)Implements java. Returns |
| public boolean | containsValue(Object
value whose presence in this map is to be tested value)Implements java. Returns |
| public Set | entrySet()
Implements java. Returns a |
| public Object | get(Object
the key whose associated value is to be returned key)Implements java. Returns the value to which the specified key is mapped,
or |
| public static String | |
| public static String | Returns: The "pure" key name if a mapped one, same as input otherwiseKey to be transformed key)
|
| public boolean | |
| public static boolean | Returns: true if key starts with SYSPROPS_MAPPED_PREFIX and continues with a dot followed by
some charactersKey to be tested key)
|
| public Set | |
| public Object | put(String
key with which the specified value is to be associated key, Object value to be associated with the specified key value)Implements java. Associates the specified value with the specified key in this map (optional operation). |
| public void | putAll(Map<? extends String, ?>
mappings to be stored in this map m)Implements java. Copies all of the mappings from the specified map to this map (optional operation). |
| public Object | remove(Object
key whose mapping is to be removed from the map key)Implements java. Removes the mapping for a key from this map if it is present (optional operation). |
| public int | |
| public String | |
| public Collection | values()
Implements java. Returns a |
| INSTANCE | back to summary |
|---|---|
| public static final SyspropsMapWrapper INSTANCE The one and only wrapper instance | |
| RAW_PROPS_RESOLVER | back to summary |
|---|---|
| public static final PropertyResolver RAW_PROPS_RESOLVER Exposes the "raw" system properties as a | |
| SYSPROPS_MAPPED_PREFIX | back to summary |
|---|---|
| public static final String SYSPROPS_MAPPED_PREFIX Prefix of properties used by the mapper to identify SSHD related settings | |
| SYSPROPS_RESOLVER | back to summary |
|---|---|
| public static final PropertyResolver SYSPROPS_RESOLVER A | |
| SyspropsMapWrapper | back to summary |
|---|---|
| private SyspropsMapWrapper() | |
| clear | back to summary |
|---|---|
| public void clear() Implements java. Doc from java. Removes all of the mappings from this map (optional operation). The map will be empty after this call returns.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object key) Implements java. Doc from java. Returns | |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object value) Implements java. Doc from java. Returns | |
| entrySet | back to summary |
|---|---|
| public Set Implements java. Doc from java. Returns a | |
| get | back to summary |
|---|---|
| public Object get(Object key) Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
If this map permits null values, then a return value of
| |
| getMappedSyspropKey | back to summary |
|---|---|
public static String getMappedSyspropKey(Object key)
| |
| getUnmappedSyspropKey | back to summary |
|---|---|
public static String getUnmappedSyspropKey(Object key)
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements java. Doc from java. Returns
| |
| isMappedSyspropKey | back to summary |
|---|---|
public static boolean isMappedSyspropKey(String key)
| |
| keySet | back to summary |
|---|---|
| public Set Implements java. Doc from java. Returns a | |
| put | back to summary |
|---|---|
| public Object put(String key, Object value) Implements java. Doc from java. Associates the specified value with the specified key in this map
(optional operation). If the map previously contained a mapping for
the key, the old value is replaced by the specified value. (A map
| |
| putAll | back to summary |
|---|---|
| public void putAll(Map<? extends String, ?> m) Implements java. Doc from java. Copies all of the mappings from the specified map to this map
(optional operation). The effect of this call is equivalent to that
of calling | |
| remove | back to summary |
|---|---|
| public Object remove(Object key) Implements java. Doc from java. Removes the mapping for a key from this map if it is present
(optional operation). More formally, if this map contains a mapping
from key Returns the value to which this map previously associated the key,
or If this map permits null values, then a return value of
The map will not contain a mapping for the specified key once the call returns. | |
| size | back to summary |
|---|---|
| public int size() Implements java. Doc from java. Returns the number of key-value mappings in this map. If the
map contains more than
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| values | back to summary |
|---|---|
| public Collection Implements java. Doc from java. Returns a
| |