|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.sigtest.ProjectDesc
This class stores a name and a collection of class descriptions, to form a project.
Constructor Summary | |
---|---|
ProjectDesc(java.lang.String name)
|
Method Summary | |
---|---|
void |
addClassDesc(ClassDesc classDesc)
|
java.lang.String |
compare(ProjectDesc that)
This method compares this project description to the specified one. |
static java.lang.String |
compareProjectFile(java.io.File projectFile)
This method compares the specified project file to the classes currently available on the classpath. |
ClassDesc |
getClassDesc(java.lang.String className)
|
java.util.List |
getClassDescs()
|
static ProjectDesc |
readProjectFile(java.lang.String projectName,
java.io.File file)
This method reads the specified project file into memory. |
void |
setClassDescs(java.util.List classDescs)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProjectDesc(java.lang.String name)
Method Detail |
public void addClassDesc(ClassDesc classDesc)
public ClassDesc getClassDesc(java.lang.String className)
public void setClassDescs(java.util.List classDescs)
public java.util.List getClassDescs()
public java.lang.String compare(ProjectDesc that)
that
- the project description to compare this one to
public static java.lang.String compareProjectFile(java.io.File projectFile) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
public static ProjectDesc readProjectFile(java.lang.String projectName, java.io.File file) throws java.io.IOException
projectName
- the name to be used when referring to the project in
error messagesfile
- the project file to read from
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |