|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.Fqn
Fully qualified name. Essentially a list of relative names, from root to a given node. This class is immutable.
Constructor Summary | |
Fqn()
|
|
Fqn(Fqn base,
Fqn relative)
|
|
Fqn(Fqn base,
Object relative_name)
|
|
Fqn(List names)
|
|
Fqn(Object name)
|
|
Fqn(Object[] names)
|
Method Summary | |
Fqn |
add(List names)
|
void |
addFqn(String fqn)
Constructs an Fqn out of a string such as "/a/b/c" |
Object |
clone()
|
boolean |
equals(Object obj)
|
static Fqn |
fromString(String fqn)
|
Object |
get(int index)
|
Fqn |
getFqnChild(int index)
Obtain a child Fqn from a sub-index. |
int |
hashCode()
|
boolean |
isChildOf(Fqn parentFqn)
Check if current fqn is child of parentFqn |
void |
readExternal(ObjectInput in)
|
int |
size()
|
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Fqn()
public Fqn(Object name)
public Fqn(List names)
public Fqn(Object[] names)
public Fqn(Fqn base, Object relative_name)
public Fqn(Fqn base, Fqn relative)
Method Detail |
public static Fqn fromString(String fqn)
public Fqn getFqnChild(int index)
index
- where is the last index of child fqn
public void addFqn(String fqn)
fqn
- public Fqn add(List names)
public int size()
public Object get(int index)
public Object clone()
public boolean equals(Object obj)
public int hashCode()
public String toString()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public boolean isChildOf(Fqn parentFqn)
parentFqn
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |