ch.interlis.iox.utils
Class IoxReaderAltAdapter

java.lang.Object
  extended by ch.interlis.iox.utils.IoxReaderAltAdapter
All Implemented Interfaces:
IoxReaderAlt

public class IoxReaderAltAdapter
extends java.lang.Object
implements IoxReaderAlt

Adapter to read a transfer file in an alternative streaming mode.

Version:
$Revision: 1.0 $ $Date: 28.06.2006 $
Author:
ce

Constructor Summary
IoxReaderAltAdapter(IoxReader in)
           
 
Method Summary
 void close()
          Frees any resources associated with this Reader.
 StartBasketEvent readBasket()
           
 StartTransferEvent readHeader()
           
 IomObject readObject()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IoxReaderAltAdapter

public IoxReaderAltAdapter(IoxReader in)
Method Detail

readHeader

public StartTransferEvent readHeader()
                              throws IoxException
Specified by:
readHeader in interface IoxReaderAlt
Throws:
IoxException

readBasket

public StartBasketEvent readBasket()
                            throws IoxException
Specified by:
readBasket in interface IoxReaderAlt
Throws:
IoxException

readObject

public IomObject readObject()
                     throws IoxException
Specified by:
readObject in interface IoxReaderAlt
Throws:
IoxException

close

public void close()
           throws IoxException
Description copied from interface: IoxReaderAlt
Frees any resources associated with this Reader. This method does not close the underlying input source.

Specified by:
close in interface IoxReaderAlt
Throws:
IoxException