Class ZipBinFile
java.lang.Object
dxt.scanpath.v2.io.ZipBinFile
- All Implemented Interfaces:
BinFile
-
Constructor Summary
ConstructorsConstructorDescriptionZipBinFile(ZipFile root, ZipEntry entry) Creates a representation of a ZIP class-file entry. -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name derived from the archive entry name.byte[]Reads the class-file contents from the ZIP archive.Returns the class name without package information.toString()Returns the archive path and entry path identifying this class file.
-
Constructor Details
-
ZipBinFile
-
-
Method Details
-
getClassName
Returns the fully qualified class name derived from the archive entry name.- Specified by:
getClassNamein interfaceBinFile- Returns:
- the fully qualified class name
-
getSimpleClassName
Returns the class name without package information.- Specified by:
getSimpleClassNamein interfaceBinFile- Returns:
- the simple class name
-
getContent
Reads the class-file contents from the ZIP archive.- Specified by:
getContentin interfaceBinFile- Returns:
- the class-file contents
- Throws:
IOException- if the entry cannot be read
-
toString
-