1 /* 2 * LZMA2Coder 3 * 4 * Author: Lasse Collin <lasse.collin (at) tukaani.org> 5 * 6 * This file has been put into the public domain. 7 * You can do whatever you want with this file. 8 */ 9 10 package org.tukaani.xz; 11 12 abstract class LZMA2Coder implements FilterCoder { 13 public static final long FILTER_ID = 0x21; 14 15 public boolean changesSize() { 16 return true; 17 } 18 19 public boolean nonLastOK() { 20 return false; 21 } 22 23 public boolean lastOK() { 24 return true; 25 } 26 } 27