|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--javar.JavaByteCodeProject
This class simply represents a groupd of JavaByteCode classes
| Constructor Summary | |
JavaByteCodeProject()
Default constructor |
|
| Method Summary | |
void |
addClass(File location)
This will take a file and create the JavaByteCodeFile for it and add that to the project. |
void |
addClass(JavaByteCodeFile code)
This will add a new class to the project. |
JavaByteCodeFile |
getClass(String name)
This will get a the byte codefile with the appropriate class. |
Iterator |
listClasses()
This will return an iterator to the list of classes that are in this. |
void |
saveProject(File dir)
This will save all classes that are associated with a project into a particular directory. |
void |
saveProjectToJar(File dir)
This will save all classes that are associated with a project into a particular directory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JavaByteCodeProject()
| Method Detail |
public void addClass(JavaByteCodeFile code)
code - The new class that will be part of this project.public JavaByteCodeFile getClass(String name)
public void addClass(File location)
throws JavarParseException,
FileNotFoundException
location - A file of dir pointing to a classfile or a directory
of classfiles
JavarParseException
FileNotFoundException
public void saveProject(File dir)
throws JavarIOException
dir - The directory to save the project to
JavarIOException
public void saveProjectToJar(File dir)
throws JavarIOException
dir - The directory to save the project to
JavarIOExceptionpublic Iterator listClasses()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||