public abstract static class LazyStreamPageSegment.StreamDataProvider extends LazyStreamPageSegment.DocumentProvider
InputStream
for the LazyStreamPageSegment
. This class can also
handle multiple PageSegments in a single stream. Just provide one Instance to all created
PageSegments, for example, if you have 2 Pages in each Stream.Constructor and Description |
---|
StreamDataProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureReader(Reader reader) |
protected Document |
getDocument()
Reads the document.
|
abstract Provider<InputStream,IOException> |
getStream() |
getPageSegment
protected final Document getDocument() throws JadiceException, IOException
LazyStreamPageSegment.DocumentProvider
getDocument
in class LazyStreamPageSegment.DocumentProvider
JadiceException
IOException
protected void configureReader(Reader reader)
reader
- the Reader, used to read the PageSegmentpublic abstract Provider<InputStream,IOException> getStream()
Copyright © 2024 levigo holding gmbh. All rights reserved.