Package proguard.io

Class FileSource

java.lang.Object
proguard.io.FileSource
All Implemented Interfaces:
DataEntrySource

public class FileSource extends Object implements DataEntrySource
This DataEntrySource wraps a single given file or DataEntry.
  • Constructor Details

    • FileSource

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

      public FileSource(File directory, 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 Details