|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.socketelf.consumerfactory_imp.rose.JavaPackage
class JavaPackage
A class representing Java source.
Field Summary | |
---|---|
private static org.apache.log4j.Logger |
log
Log4J logger. |
private PackageName |
packageName
Package name of the Java source. |
private java.io.File |
rootDir
The root dir of the Java source. |
Constructor Summary | |
---|---|
private |
JavaPackage()
Dose not allow the default constructor of this class to be used. |
|
JavaPackage(java.io.File root_dir,
PackageName package_name)
Creates a JavaPackage class. |
Method Summary | |
---|---|
java.io.File[] |
getClassFiles()
Gets java.io.File array of Java class files. |
java.io.File[] |
getJavaFiles()
Gets java.io.File array of Java source files. |
java.io.File |
getPackageFile()
Gets a java.io.File which represents the java package. |
PackageName |
getPackageName()
Gets the Package name of the Java source. |
java.io.File |
getRootDir()
Gets a java.io.File which represents the root of the Java source directory. |
java.lang.String |
getRootDirAbsolutePath()
Gets the the absolute path of the root of the Java source directory. |
java.net.URL |
getRootDirURL()
Gets java.net.URL of the Java source root directory. |
java.net.URL |
getURL()
Gets java.net.URL of the Java source package name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static org.apache.log4j.Logger log
private PackageName packageName
private java.io.File rootDir
Constructor Detail |
---|
private JavaPackage()
public JavaPackage(java.io.File root_dir, PackageName package_name)
root_dir
- The root dir of the Java source.package_name
- Package name of the Java source.Method Detail |
---|
public PackageName getPackageName()
public java.io.File getPackageFile()
java.io.File
which represents the java package.
java.io.File
which represents the java package.public java.lang.String getRootDirAbsolutePath()
public java.io.File getRootDir()
java.io.File
which represents the root of the Java source directory.
java.io.File
which represents the root of the Java source directory.public java.io.File[] getJavaFiles()
java.io.File
array of Java source files.
java.io.File
array of Java source files.public java.io.File[] getClassFiles()
java.io.File
array of Java class files.
java.io.File
array of Java class files.public java.net.URL getURL()
java.net.URL
of the Java source package name.
java.net.URL
of the Java source package name.public java.net.URL getRootDirURL()
java.net.URL
of the Java source root directory.
java.net.URL
of the Java source root directory.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |