com.levigo.jadice.document.write
Class FormatWriter

java.lang.Object
  extended by com.levigo.jadice.document.write.FormatWriter

public abstract class FormatWriter
extends Object

Abstract base class for different document formats.

Realizations of this class represent a specific data format, spent informations about the represent format and provides several methods for loading and saving.


Constructor Summary
FormatWriter()
           
 
Method Summary
protected abstract  void doWrite(Document document, OutputStream os, WriterControls controls)
           
protected  void firePageWriteStarted(int pageIndex)
           
protected  void fireWriteReadDone(int pageIndex)
           
 void write(Document document, OutputStream os, WriterControls controls)
           
 void write(Document document, OutputStream os, WriterListener listener, WriterControls controls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatWriter

public FormatWriter()
Method Detail

write

public final void write(Document document,
                        OutputStream os,
                        WriterControls controls)
                 throws IOException,
                        JadiceException
Throws:
IOException
JadiceException

write

public final void write(Document document,
                        OutputStream os,
                        WriterListener listener,
                        WriterControls controls)
                 throws IOException,
                        JadiceException
Throws:
IOException
JadiceException

doWrite

protected abstract void doWrite(Document document,
                                OutputStream os,
                                WriterControls controls)
                         throws JadiceException,
                                IOException
Throws:
JadiceException
IOException

firePageWriteStarted

protected void firePageWriteStarted(int pageIndex)

fireWriteReadDone

protected void fireWriteReadDone(int pageIndex)


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.