Class DiskClassFile
java.lang.Object
dxt.scanpath.v1.support.DiskClassFile
- All Implemented Interfaces:
ClassFile
-
Constructor Summary
ConstructorsConstructorDescriptionDiskClassFile(File root, File file) Creates a new instance of DiskClassFile. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Retrieves the fully qualified name of the class whose bytecodes are contained in this file.Retrieves the name of the class whose bytecodes are contained in this file.Gets an input stream to read bytecode contents of the class file.
-
Constructor Details
-
DiskClassFile
-
-
Method Details
-
getName
-
getSimpleName
Retrieves the name of the class whose bytecodes are contained in this file.- Specified by:
getSimpleNamein interfaceClassFile- Returns:
- the class name without any package information.
-
openInputStream
Gets an input stream to read bytecode contents of the class file.- Specified by:
openInputStreamin interfaceClassFile- Returns:
- an input stream to read from.
- Throws:
IOException- for any errors in file operations.
-