Package proguard.io

Class FileSource

    • Constructor Summary

      Constructors 
      Constructor Description
      FileSource​(java.io.File file)
      Creates a new FileSource.
      FileSource​(java.io.File directory, java.io.File file)
      Creates a new FileSource.
      FileSource​(FileDataEntry fileDataEntry)
      Creates a new FileSource.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void pumpDataEntries​(DataEntryReader dataEntryReader)
      Applies the given DataEntryReader to all data entries that the implementation can provide.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileSource

        public FileSource​(java.io.File file)
        Creates a new FileSource.
        Parameters:
        file - the the absolute or relative location of the file.
      • FileSource

        public FileSource​(java.io.File directory,
                          java.io.File file)
        Creates a new FileSource.
        Parameters:
        directory - the base directory for the file.
        file - the the absolute or relative location of the file.
      • FileSource

        public FileSource​(FileDataEntry fileDataEntry)
        Creates a new FileSource.
        Parameters:
        fileDataEntry - the file data entry.
    • Method Detail

      • pumpDataEntries

        public void pumpDataEntries​(DataEntryReader dataEntryReader)
                             throws java.io.IOException
        Description copied from interface: DataEntrySource
        Applies the given DataEntryReader to all data entries that the implementation can provide.
        Specified by:
        pumpDataEntries in interface DataEntrySource
        Throws:
        java.io.IOException