|
ej-technologies | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gjt.jclasslib.browser.config.classpath.ClasspathEntry
Base class for classpath entries.
Field Summary | |
protected static String |
CLASSFILE_SUFFIX
Suffix for class files. |
Constructor Summary | |
ClasspathEntry()
|
Method Summary | |
void |
addClasspathChangeListener(ClasspathChangeListener listener)
Add a ClasspathChangeListener. |
protected ClassTreeNode |
addOrFindNode(String newNodeName,
ClassTreeNode parentNode,
boolean packageNode,
DefaultTreeModel model,
boolean reset)
Convenience method to get a node or add a new class of package node to a parent node. |
boolean |
equals(Object other)
|
protected File |
getFile()
Get the file for the classpath entry. |
String |
getFileName()
Get the name of the classpath entry. |
int |
hashCode()
|
void |
removeClasspathChangeListener(ClasspathChangeListener listener)
Remove a ClasspathChangeListener. |
void |
setFileName(String fileName)
Set the name of the classpath entry. |
protected String |
stripClassSuffix(String name)
Strip the class suffix from the supplied file name. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.gjt.jclasslib.browser.config.classpath.ClasspathComponent |
findClass, mergeClassesIntoTree |
Field Detail |
protected static final String CLASSFILE_SUFFIX
Constructor Detail |
public ClasspathEntry()
Method Detail |
public String getFileName()
public void setFileName(String fileName)
fileName
- the name.public boolean equals(Object other)
public int hashCode()
public void addClasspathChangeListener(ClasspathChangeListener listener)
ClasspathComponent
addClasspathChangeListener
in interface ClasspathComponent
listener
- the listenerpublic void removeClasspathChangeListener(ClasspathChangeListener listener)
ClasspathComponent
removeClasspathChangeListener
in interface ClasspathComponent
listener
- the listenerprotected File getFile()
protected ClassTreeNode addOrFindNode(String newNodeName, ClassTreeNode parentNode, boolean packageNode, DefaultTreeModel model, boolean reset)
newNodeName
- the name of the new node.parentNode
- the parent node.packageNode
- whether the new node is a package node or not.model
- the tree model.reset
- whether a reset operation is in progress.
protected String stripClassSuffix(String name)
name
- the file name.
|
ej-technologies | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |