protected static class PofDeltaCompressor.ChangeTracker extends Object
| Constructor and Description |
|---|
ChangeTracker(ReadBuffer.BufferInput inOld, ReadBuffer.BufferInput inNew)
Construct a ChangeTracker that will produce a delta between the two passed streams.
|
| Modifier and Type | Method and Description |
|---|---|
void |
advance(boolean fSame)
Update the tracker to indicate that the most recently scanned region was the same or different.
|
Binary |
getDelta()
Obtain the final delta result as a Binary value.
|
public ChangeTracker(ReadBuffer.BufferInput inOld, ReadBuffer.BufferInput inNew) throws IOException
inOld - the BuferInput for the old valueinNew - the BuferInput for the new valueIOException - if some use of the underlying streams throws an exception
public void advance(boolean fSame)
throws IOException
fSame - pass true if the most recently scanned region of the streams was identical; false otherwiseIOException - if some use of the underlying streams throws an exceptionpublic Binary getDelta() throws IOException
IOException - if some use of the underlying streams throws an exception