ch.interlis.iox
Interface IoxReaderAlt

All Known Implementing Classes:
IoxReaderAltAdapter

public interface IoxReaderAlt

Interface to read a transfer file in an alternative object streaming mode. Usage:

 IoxReaderAlt reader=...;
 StartTransferEvent header=reader.readHeader();
 ...
 if(header!=null){
        StartBasketEvent basket;
        while((basket=reader.readBasket())!=null){
                ...
                IomObject iomObj;
                while((iomObj=reader.readObject())!=null){
                        ...
                }
        }
 }
 

Version:
$Revision: 1.0 $ $Date: 28.06.2006 $
Author:
ce
See Also:
IoxReader

Method Summary
 void close()
          Frees any resources associated with this Reader.
 StartBasketEvent readBasket()
           
 StartTransferEvent readHeader()
           
 IomObject readObject()
           
 

Method Detail

readHeader

StartTransferEvent readHeader()
                              throws IoxException
Throws:
IoxException

readBasket

StartBasketEvent readBasket()
                            throws IoxException
Throws:
IoxException

readObject

IomObject readObject()
                     throws IoxException
Throws:
IoxException

close

void close()
           throws IoxException
Frees any resources associated with this Reader. This method does not close the underlying input source.

Throws:
IoxException