/** * Creates new BoundedInputStream, according to implementation of * underlying archive channel. */ private BoundedInputStream createBoundedInputStream(long start, long remaining) { return archive instanceof FileChannel ? new BoundedFileChannelInputStream(start, remaining) : new BoundedInputStream(start, remaining); }
/** * Creates new BoundedInputStream, according to implementation of * underlying archive channel. */ private BoundedInputStream createBoundedInputStream(long start, long remaining) { return archive instanceof FileChannel ? new BoundedFileChannelInputStream(start, remaining) : new BoundedInputStream(start, remaining); }