Modifier and Type | Field and Description |
---|---|
ConfigCategory |
parent |
Constructor and Description |
---|
ConfigCategory(String name) |
ConfigCategory(String name,
ConfigCategory parent) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsKey(String key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Property>> |
entrySet() |
boolean |
equals(Object obj) |
Property |
get(Object key) |
Property |
get(String key) |
Set<ConfigCategory> |
getChildren() |
ConfigCategory |
getFirstParent() |
String |
getQualifiedName() |
static String |
getQualifiedName(String name,
ConfigCategory parent) |
Map<String,Property> |
getValues() |
boolean |
hasChanged() |
boolean |
isChild() |
boolean |
isEmpty() |
Set<String> |
keySet() |
Property |
put(String key,
Property value) |
void |
putAll(Map<? extends String,? extends Property> m) |
Property |
remove(Object key) |
void |
removeChild(ConfigCategory child) |
void |
setComment(String comment) |
int |
size() |
Collection<Property> |
values() |
void |
write(BufferedWriter out,
int indent) |
public final ConfigCategory parent
public ConfigCategory(String name)
public ConfigCategory(String name, ConfigCategory parent)
public boolean equals(Object obj)
public String getQualifiedName()
public static String getQualifiedName(String name, ConfigCategory parent)
public ConfigCategory getFirstParent()
public boolean isChild()
public void setComment(String comment)
public boolean containsKey(String key)
public void write(BufferedWriter out, int indent) throws IOException
IOException
public boolean hasChanged()
public boolean containsKey(Object key)
containsKey
in interface Map<String,Property>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Property>
public Set<ConfigCategory> getChildren()
public void removeChild(ConfigCategory child)