1 22 package com.izforge.izpack.compressor; 23 24 import java.io.OutputStream ; 25 26 27 28 37 public class DefaultPackCompressor extends PackCompressorBase 38 { 39 private static final String [] THIS_FORMAT_NAMES = 40 {"default", "deflate", "zip", "lz77"}; 41 private static final String [] THIS_CONTAINER_PATH = null; 42 private static final String THIS_DECODER_MAPPER = null; 43 private static final String [][] THIS_DECODER_CLASS_NAMES = null; 44 private static final String THIS_ENCODER_CLASS_NAME = null; 45 46 47 50 public DefaultPackCompressor() 51 { 52 super(); 53 formatNames = THIS_FORMAT_NAMES; 54 containerPaths = THIS_CONTAINER_PATH; 55 decoderMapper = THIS_DECODER_MAPPER; 56 encoderClassName = THIS_ENCODER_CLASS_NAME; 57 decoderClassNames = THIS_DECODER_CLASS_NAMES; 58 } 59 60 63 public OutputStream getOutputStream(OutputStream os) 64 { 65 return(null); 67 } 68 69 72 public boolean useStandardCompression() 73 { 74 return(true); 75 } 76 79 public boolean needsBufferedOutputStream() 80 { 81 return(false); 82 } 83 84 } 85 | Popular Tags |