Package proguard.io

Interface DataEntrySource

  • All Known Implementing Classes:
    DirectorySource, FileSource

    public interface DataEntrySource
    This interface provides a source for data entries. The implementation determines the type of the data entries. Typical examples are files or directories. The source can pump its data entries into a data entry reader (a "push" model for the entries), which can then optionally read their contents (a "pull" model for the contents).
    • Method Detail

      • pumpDataEntries

        void pumpDataEntries​(DataEntryReader dataEntryReader)
                      throws java.io.IOException
        Applies the given DataEntryReader to all data entries that the implementation can provide.
        Throws:
        java.io.IOException