Package com.github.stephenc.javaisotools.sabre.io

Examples of com.github.stephenc.javaisotools.sabre.io.LimitingInputStream


        }

        // Limit input stream, if necessary
        if (this.length != -1) {
            // System.out.println("Limiting to " + this.length + " ");
            fileInputStream = new LimitingInputStream(fileInputStream, (int) this.length);
        }

        // System.out.println();

        // Buffer input stream
View Full Code Here


        InputStream urlInputStream = null;
        InputStream limitedInputStream = null;

        urlInputStream = this.url.openStream();
        urlInputStream.skip(this.position);
        limitedInputStream = new LimitingInputStream(urlInputStream, (int) this.length);

        return limitedInputStream;
    }
View Full Code Here

TOP

Related Classes of com.github.stephenc.javaisotools.sabre.io.LimitingInputStream

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.