ch.interlis.iox
Interface IoxReader
- public interface IoxReader
Interface to read an INTERLIS transfer file in streaming mode.
Usage:
IoxReader reader=...;
IoxEvent event;
do{
event=reader.read();
if(event instanceof StartTransferEvent){
...
}else if(event instanceof StartBasketEvent){
...
}else if(event instanceof ObjectEvent){
...
}else if(event instanceof EndBasketEvent){
...
}else if(event instanceof EndTransferEvent){
...
}
}while(!(event instanceof EndTransferEvent));
- Version:
- $Revision: 1.0 $ $Date: 28.06.2006 $
- Author:
- ce
- See Also:
IoxReaderAlt
Method Summary |
void |
close()
Frees any resources associated with this Reader.
|
IoxEvent |
read()
|
read
public IoxEvent read()
throws IoxException
- Throws:
IoxException
close
public void close()
throws IoxException
- Frees any resources associated with this Reader.
This method does not close the underlying input source.
- Throws:
IoxException