Code example for DeflaterOutputStream

0
 
    /** 
     * {@inheritDoc} 
     */ 
    public OutputStream serialize(final OutputStream pToSerialize) throws TTByteHandleException { 
        return new DeflaterOutputStream(pToSerialize); 
    } 
 
    /** 
     * {@inheritDoc} 
     */ 
    public InputStream deserialize(final InputStream pToDeserialize) throws TTByteHandleException { 
        return new InflaterInputStream(pToDeserialize); 
    } 
 
    /** 
     * {@inheritDoc} 
     */ 
    @Override 
    public Zipper clone() { 
        return new Zipper();