Package proguard.io
Class JarReader
java.lang.Object
proguard.io.JarReader
- All Implemented Interfaces:
DataEntryReader
- Direct Known Subclasses:
PrioritizingJarReader
This
DataEntryReader lets a given DataEntryReader read all data entries of the
read archive data entries.-
Constructor Summary
ConstructorsConstructorDescriptionJarReader(boolean jmod, DataEntryReader dataEntryReader) Creates a new JarReader that optionally reads jmod files.JarReader(DataEntryReader dataEntryReader) Creates a new JarReader. -
Method Summary
-
Constructor Details
-
JarReader
Creates a new JarReader.- Parameters:
dataEntryReader- the reader that can process the jar entries.
-
JarReader
Creates a new JarReader that optionally reads jmod files.- Parameters:
jmod- specifies whether the input jar is actually a jmod file.dataEntryReader- the reader that can process the jar entries.
-
-
Method Details
-
read
Description copied from interface:DataEntryReaderReads the given data entry.- Specified by:
readin interfaceDataEntryReader- Throws:
IOException
-