EMPTY, END_DELIM, START_DELIM
Modifier and Type | Method and Description |
---|---|
ConfigKey |
append(ConfigKey key)
Return a new key with the given key appended.
|
ConfigKey |
append(String... names)
Return a new key with the given segments appended.
|
boolean |
equals(Object obj) |
int |
hashCode() |
SimpleKey |
head()
Return the first segment of this key.
|
boolean |
isChildOf(ConfigKey possibleParent)
Determine if this key is a child of the argument.
|
String |
name()
String representation of this key's name.
|
String |
propertyName()
String representation of this key's name in property format.
|
void |
replace(int position,
String name) |
ConfigKey |
subkey(int offset)
Return the subkey of this key from a given offset.
|
String |
toString() |
public SimpleKey(String name)
public String name()
ConfigKey
public String propertyName()
ConfigKey
propertyName
in interface ConfigKey
public SimpleKey head()
ConfigKey
public ConfigKey subkey(int offset)
ConfigKey
subkey
in interface ConfigKey
offset
- The number of segments offset from the head to subkey.ConfigKey.EMPTY
.public boolean isChildOf(ConfigKey possibleParent)
ConfigKey
public ConfigKey append(ConfigKey key)
ConfigKey
public ConfigKey append(String... names)
ConfigKey
Copyright © 2019 JBoss by Red Hat. All rights reserved.