public interface DiffWriter
extends java.io.Closeable
| Modifier and Type | Method and Description | 
|---|---|
| void | addCopy(long offset,
       int length)Add a GDIFF copy instruction. | 
| void | addData(byte b)Add a GDIFF data instruction. | 
| void | close()Closes this stream. | 
| void | flush()Flushes to output, e.g. | 
void addCopy(long offset,
             int length)
      throws java.io.IOException
java.io.IOExceptionvoid addData(byte b)
      throws java.io.IOException
java.io.IOExceptionvoid flush()
    throws java.io.IOException
java.io.IOExceptionvoid close()
    throws java.io.IOException
DiffWriter will invoke this method at the end.close in interface java.lang.AutoCloseableclose in interface java.io.Closeablejava.io.IOException