org.metastatic.rsync.v2
Class PlainDeltaDecoder
java.lang.Object
|
+--org.metastatic.rsync.DeltaDecoder
|
+--org.metastatic.rsync.v2.PlainDeltaDecoder
- public class PlainDeltaDecoder
- extends DeltaDecoder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlainDeltaDecoder
public PlainDeltaDecoder(Configuration config,
InputStream in)
setStatistics
public void setStatistics(Statistics stats)
getStatistics
public Statistics getStatistics()
read
public Delta read()
throws IOException
- Description copied from class:
DeltaDecoder
- Read (decode) a single delta from the input stream.
If this encoding provides an end-of-deltas marker, then this method
is required to return null
upon receiving this marker.
- Specified by:
read
in class DeltaDecoder
- Returns:
- The delta read, or
null
- Throws:
IOException
- If an I/O error occurs.