Package proguard.io
Class JarReader
- java.lang.Object
-
- proguard.io.JarReader
-
- All Implemented Interfaces:
DataEntryReader
public class JarReader extends java.lang.Object implements DataEntryReader
ThisDataEntryReader
lets a givenDataEntryReader
read all data entries of the read archive data entries.
-
-
Constructor Summary
Constructors Constructor Description JarReader(boolean jmod, DataEntryReader dataEntryReader)
Creates a new JarReader that optionally reads jmod files.JarReader(DataEntryReader dataEntryReader)
Creates a new JarReader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
read(DataEntry dataEntry)
Reads the given data entry.
-
-
-
Constructor Detail
-
JarReader
public JarReader(DataEntryReader dataEntryReader)
Creates a new JarReader.- Parameters:
dataEntryReader
- the reader that can process the jar entries.
-
JarReader
public JarReader(boolean jmod, DataEntryReader dataEntryReader)
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 Detail
-
read
public void read(DataEntry dataEntry) throws java.io.IOException
Description copied from interface:DataEntryReader
Reads the given data entry.- Specified by:
read
in interfaceDataEntryReader
- Throws:
java.io.IOException
-
-