protected SeekableInputStream makeInputStream(final InputStream pStream) { try { return new FileCacheSeekableStream(pStream); } catch (IOException e) { throw new RuntimeException(e); } } }
/** * Creates a read only {@code CompoundDocument}. * * @param pInput the input to read from * * @throws IOException if an I/O exception occurs while reading the header */ public CompoundDocument(final InputStream pInput) throws IOException { this(new FileCacheSeekableStream(pInput)); }
/** * Creates a read only {@code CompoundDocument}. * * @param pInput the input to read from * * @throws IOException if an I/O exception occurs while reading the header */ public CompoundDocument(final InputStream pInput) throws IOException { this(new FileCacheSeekableStream(pInput)); }
protected SeekableInputStream makeInputStream(final InputStream pStream) { try { return new FileCacheSeekableStream(pStream); } catch (IOException e) { throw new RuntimeException(e); } } }
protected SeekableInputStream makeInputStream(final InputStream pStream) { try { return new FileCacheSeekableStream(pStream); } catch (IOException e) { throw new RuntimeException(e); } } }