com.levigo.jadice.document
Class FormatReader

java.lang.Object
  extended by com.levigo.jadice.document.FormatReader

public abstract class FormatReader
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
FormatReader()
           
 
Method Summary
protected abstract  void doRead(ReaderParameters rs, FormatReaderProcessor processor)
           
 void read(ReaderParameters parameters, FormatReaderProcessor processor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatReader

public FormatReader()
Method Detail

read

public final void read(ReaderParameters parameters,
                       FormatReaderProcessor processor)
                throws IOException,
                       JadiceException
Parameters:
parameters - the input stream to load from
processor - the FormatReaderProcessorinstance used for providing pages
Throws:
IOException - if I/O problems occurred
JadiceException - if any other problems occurred

doRead

protected abstract void doRead(ReaderParameters rs,
                               FormatReaderProcessor processor)
                        throws IOException,
                               JadiceException
Parameters:
rs - the input stream to load from
processor - the FormatReaderProcessorinstance used for providing pages
Throws:
IOException - if I/O problems occur
JadiceException - if any other problems occur


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