diva.gui
Class MultipageWriter
java.lang.Object
diva.gui.MultipageWriter
public class MultipageWriter
- extends Object
MultipageWriter writes out all pages of a multi-page document to a
file. The document writer must be provided with a model writer
which is used to write out the app-specific model on a single page.
- Version:
- $Revision: 1.2 $
- Author:
- Heloise Hse (hwawen@eecs.berkeley.edu), Michael Shilman (michaels@eecs.berkeley.edu)
Constructor Summary |
MultipageWriter(ModelWriter pageWriter)
Create a MultipageWriter with the specified model parser which
is used to write the content of a page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipageWriter
public MultipageWriter(ModelWriter pageWriter)
- Create a MultipageWriter with the specified model parser which
is used to write the content of a page.
write
public void write(MultipageModel multipage,
Writer out)
throws IOException
- Write the given document to the character stream (out). Use the
given page writer to write out each page in the document.
- Throws:
IOException
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.