public class JarReader extends java.lang.Object implements DataEntryReader
DataEntryReader lets a given DataEntryReader read all data entries of
the read archive data entries.| Constructor and Description |
|---|
JarReader(boolean jmod,
DataEntryReader dataEntryReader)
Creates a new JarReader that optionally reads jmod files.
|
JarReader(DataEntryReader dataEntryReader)
Creates a new JarReader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
read(DataEntry dataEntry)
Reads the given data entry.
|
public JarReader(DataEntryReader dataEntryReader)
dataEntryReader - the reader that can process the jar entries.public JarReader(boolean jmod,
DataEntryReader dataEntryReader)
jmod - specifies whether the input jar is actually a
jmod file.dataEntryReader - the reader that can process the jar entries.public void read(DataEntry dataEntry) throws java.io.IOException
DataEntryReaderread in interface DataEntryReaderjava.io.IOException