Package org.apache.bcel.util
Class ClassPath.AbstractZip
java.lang.Object
org.apache.bcel.util.ClassPath.AbstractPathEntry
org.apache.bcel.util.ClassPath.AbstractZip
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
ClassPath.Jar
,ClassPath.Module
- Enclosing class:
ClassPath
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
(package private) ClassPath.ClassFile
getClassFile
(String name, String suffix) (package private) URL
getResource
(String name) (package private) InputStream
getResourceAsStream
(String name) protected abstract String
toEntryName
(String name, String suffix) toString()
-
Field Details
-
zipFile
-
-
Constructor Details
-
AbstractZip
AbstractZip(ZipFile zipFile)
-
-
Method Details
-
close
- Throws:
IOException
-
getClassFile
- Specified by:
getClassFile
in classClassPath.AbstractPathEntry
-
getResource
- Specified by:
getResource
in classClassPath.AbstractPathEntry
-
getResourceAsStream
- Specified by:
getResourceAsStream
in classClassPath.AbstractPathEntry
-
toEntryName
-
toString
-