public class ClassProperties extends HashMap<String,LinkedList<String>>
Properties. As a HashMap, it makes the result
easily accessible, and mutable.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
(package private) LinkedList<Class> |
effectiveClasses |
(package private) LinkedList<Class> |
inheritedClasses |
(package private) String |
pathSeparator |
(package private) String |
platform |
(package private) String |
platformRoot |
| Constructor and Description |
|---|
ClassProperties() |
ClassProperties(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(String key,
Collection<String> values) |
void |
addAll(String key,
String... values) |
LinkedList<String> |
get(String key) |
LinkedList<Class> |
getEffectiveClasses() |
LinkedList<Class> |
getInheritedClasses() |
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
void |
load(Class cls,
boolean inherit) |
String |
setProperty(String key,
String value) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringString platform
String platformRoot
String pathSeparator
LinkedList<Class> inheritedClasses
LinkedList<Class> effectiveClasses
public ClassProperties()
public ClassProperties(Properties properties)
public LinkedList<String> get(String key)
public void addAll(String key, Collection<String> values)
public void load(Class cls, boolean inherit)
public LinkedList<Class> getInheritedClasses()
public LinkedList<Class> getEffectiveClasses()
Copyright © 2015. All Rights Reserved.