Package proguard.io

Class JarReader

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface DataEntryReader
        Throws:
        java.io.IOException