Package proguard.io

Class JarReader

java.lang.Object
proguard.io.JarReader
All Implemented Interfaces:
DataEntryReader
Direct Known Subclasses:
PrioritizingJarReader

public class JarReader extends Object implements DataEntryReader
This DataEntryReader lets a given DataEntryReader read all data entries of the read archive data entries.
  • Constructor Details

    • 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 Details