public abstract class PageStashWriter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CURRENT_FORMAT_VERSION |
static String |
STASH_MIME_TYPE |
Modifier | Constructor and Description |
---|---|
protected |
PageStashWriter(DocumentMarshaller documentMarshaller) |
Modifier and Type | Method and Description |
---|---|
abstract PageStash |
writeStash(Document document,
List<Page> pages)
Write the given pages belonging to the given document as a PageStash.
|
void |
writeStash(Document document,
List<Page> pages,
OutputStream os)
Write a page stash to the given output stream.
|
public static final String STASH_MIME_TYPE
public static final String CURRENT_FORMAT_VERSION
protected PageStashWriter(DocumentMarshaller documentMarshaller)
public abstract PageStash writeStash(Document document, List<Page> pages) throws IOException
document
- the document to which the pages belongpages
- the selected pagesIOException
- in case of problems during writingpublic void writeStash(Document document, List<Page> pages, OutputStream os) throws IOException
document
- the document to which the pages belongpages
- the selected pagesos
- sink to which the resulting bytes are writtenIOException
- in case of problems during writingCopyright © 2024 levigo holding gmbh. All rights reserved.