Package org.apache.xbean.finder.archive
Class FileArchive
java.lang.Object
org.apache.xbean.finder.archive.FileArchive
- All Implemented Interfaces:
Iterable<Archive.Entry>,Archive
- Version:
- $Rev$ $Date$
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.xbean.finder.archive.Archive
Archive.Entry -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Fileprivate final ClassLoaderprivate final MJarSupport -
Constructor Summary
ConstructorsConstructorDescriptionFileArchive(ClassLoader loader, File dir) FileArchive(ClassLoader loader, File dir, String basePackage) FileArchive(ClassLoader loader, URL url) FileArchive(ClassLoader loader, URL url, String basePackage) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
loader
-
basePackage
-
dir
-
list
-
mjar
-
-
Constructor Details
-
FileArchive
-
FileArchive
-
FileArchive
-
FileArchive
-
-
Method Details
-
getDir
-
getBytecode
- Specified by:
getBytecodein interfaceArchive- Throws:
IOExceptionClassNotFoundException
-
loadClass
- Specified by:
loadClassin interfaceArchive- Throws:
ClassNotFoundException
-
iterator
- Specified by:
iteratorin interfaceIterable<Archive.Entry>
-
_iterator
-
file
-
scanDir
-
toFile
-
decode
-