Package com.jcraft.jzlib

Examples of com.jcraft.jzlib.GZIPInputStream


        realIo = stream;

        try {
            // don't close realIO
            ioInputStream = new IOInputStream(realIo);
            io = new GZIPInputStream(ioInputStream, 512, false);

            // JRUBY-4502
            // CRuby expects to parse gzip header in 'new'.
            io.readHeader();
View Full Code Here


* @author Alexey Andreev <konsoletyper@gmail.com>
*/
public class TGZIPInputStream extends TInflaterInputStream {
    public TGZIPInputStream(InputStream in, int size) throws IOException {
        super(in);
        this.in = new GZIPInputStream(in, size, false);
    }
View Full Code Here

        this.in = new GZIPInputStream(in, size, false);
    }

    public TGZIPInputStream(InputStream in) throws IOException {
        super(in);
        this.in = new GZIPInputStream(in);
    }
View Full Code Here

TOP

Related Classes of com.jcraft.jzlib.GZIPInputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.