diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-05-20 17:36:35 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-05-20 17:36:35 +0300 |
commit | b563eacd944c39d47cedd00d3d1a3a00fa5b64aa (patch) | |
tree | 1abf7f6272d08bfeb1c590fd45ae2973abaf24aa /src/org/tukaani/xz/DeltaCoder.java | |
parent | 1a8635f2587b3ccde7f98d353106ee6ab3eb309f (diff) | |
download | xz-java-b563eacd944c39d47cedd00d3d1a3a00fa5b64aa.tar.gz |
Refactor the locations of internal classes and remove RawDecoder.
The functionality of RawDecoder is now integrated
into BlockInputStream.
Diffstat (limited to 'src/org/tukaani/xz/DeltaCoder.java')
-rw-r--r-- | src/org/tukaani/xz/DeltaCoder.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/org/tukaani/xz/DeltaCoder.java b/src/org/tukaani/xz/DeltaCoder.java new file mode 100644 index 0000000..808834c --- /dev/null +++ b/src/org/tukaani/xz/DeltaCoder.java @@ -0,0 +1,26 @@ +/* + * DeltaCoder + * + * Author: Lasse Collin <lasse.collin@tukaani.org> + * + * This file has been put into the public domain. + * You can do whatever you want with this file. + */ + +package org.tukaani.xz; + +abstract class DeltaCoder implements FilterCoder { + public static final long FILTER_ID = 0x03; + + public boolean changesSize() { + return false; + } + + public boolean nonLastOK() { + return true; + } + + public boolean lastOK() { + return false; + } +} |