|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.taursys.tools.util.ClassPathNode
ClassPathNode is a tree node for a ClassPath tree.
| Field Summary | |
static int |
TYPE_DIR
|
static int |
TYPE_FILE
|
static int |
TYPE_ROOT
|
| Constructor Summary | |
ClassPathNode()
Constructs a new ClassPathNode with blank names and TYPE_ROOT |
|
ClassPathNode(java.lang.String displayName,
java.lang.String qualifiedName,
int type)
Constructs a new ClassPathNode with all properties given |
|
| Method Summary | |
java.lang.String |
getDisplayName()
Get the display name for this ClassPathNode |
java.lang.String |
getQualifiedName()
Get the fully qualified name for this class or package |
int |
getType()
Get the type of node: root, directory, or file Should be one of: TYPE_ROOT, TYPE_DIR, or
TYPE_FILE |
void |
setDisplayName(java.lang.String newDisplayName)
Set the display name for this ClassPathNode |
void |
setQualifiedName(java.lang.String newQualifiedName)
Set the fully qualified name for this class or package |
void |
setType(int newType)
Set the type of node: root, directory, or file Should be one of: TYPE_ROOT, TYPE_DIR, or
TYPE_FILE |
java.lang.String |
toString()
Returns the displayName as a String representation of this node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int TYPE_ROOT
public static final int TYPE_DIR
public static final int TYPE_FILE
| Constructor Detail |
public ClassPathNode()
public ClassPathNode(java.lang.String displayName,
java.lang.String qualifiedName,
int type)
| Method Detail |
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String newDisplayName)
newDisplayName - display name for this ClassPathNodepublic void setQualifiedName(java.lang.String newQualifiedName)
newQualifiedName - the fully qualified name for this class or packagepublic java.lang.String getQualifiedName()
public void setType(int newType)
TYPE_ROOT, TYPE_DIR, or
TYPE_FILE
newType - the type of node: root, directory, or filepublic int getType()
TYPE_ROOT, TYPE_DIR, or
TYPE_FILE
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||