public class DebugDiffWriter extends java.lang.Object implements DiffWriter
| Constructor and Description |
|---|
DebugDiffWriter()
Constructs a new DebugDiffWriter.
|
| 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. any data added.
|
public void addCopy(long offset,
int length)
throws java.io.IOException
DiffWriteraddCopy in interface DiffWriterjava.io.IOExceptionpublic void addData(byte b)
throws java.io.IOException
DiffWriteraddData in interface DiffWriterjava.io.IOExceptionpublic void flush()
throws java.io.IOException
DiffWriterflush in interface DiffWriterjava.io.IOExceptionpublic void close()
throws java.io.IOException
DiffWriterDiffWriter will invoke this method at the end.close in interface DiffWriterclose in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException