Class Change

java.lang.Object
org.apache.commons.compress.changes.Change

class Change extends Object
Change holds meta information about a change.
  • Field Details

  • Constructor Details

    • Change

      Change(String fileName, int type)
      Constructor. Takes the file name of the file to be deleted from the stream as argument.
      Parameters:
      fileName - the file name of the file to delete
    • Change

      Change(ArchiveEntry archiveEntry, InputStream inputStream, boolean replace)
      Construct a change which adds an entry.
      Parameters:
      archiveEntry - the entry details
      inputStream - the InputStream for the entry data
  • Method Details

    • getEntry

      ArchiveEntry getEntry()
    • getInput

      InputStream getInput()
    • targetFile

      String targetFile()
    • type

      int type()
    • isReplaceMode

      boolean isReplaceMode()