Class Change


  • class Change
    extends java.lang.Object
    Change holds meta information about a change.
    • Constructor Summary

      Constructors 
      Constructor Description
      Change​(java.lang.String fileName, int type)
      Constructor.
      Change​(ArchiveEntry pEntry, java.io.InputStream pInput, boolean replace)
      Construct a change which adds an entry.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) ArchiveEntry getEntry()  
      (package private) java.io.InputStream getInput()  
      (package private) boolean isReplaceMode()  
      (package private) java.lang.String targetFile()  
      (package private) int type()  
      • Methods inherited from class java.lang.Object

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

      • Change

        Change​(java.lang.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 pEntry,
               java.io.InputStream pInput,
               boolean replace)
        Construct a change which adds an entry.
        Parameters:
        pEntry - the entry details
        pInput - the InputStream for the entry data
    • Method Detail

      • getInput

        java.io.InputStream getInput()
      • targetFile

        java.lang.String targetFile()
      • type

        int type()
      • isReplaceMode

        boolean isReplaceMode()