|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.interlis.iom_j.xtf.XtfReader
public class XtfReader
This class implements a INTERLIS 2 reader.
Constructor Summary | |
---|---|
XtfReader(java.io.File xtffile)
Creates a new reader. |
|
XtfReader(java.io.InputStream in)
Creates a new reader. |
|
XtfReader(java.io.InputStreamReader in)
Creates a new reader. |
Method Summary | |
---|---|
void |
close()
Frees any resources associated with this Reader. |
IomObject |
createIomObject(java.lang.String type,
java.lang.String oid)
creates a IomObject with the given type and oid. |
IoxFactoryCollection |
getFactory()
gets the current factory collection. |
IoxEvent |
read()
reads the next event from this reader. |
void |
setFactory(IoxFactoryCollection factory)
sets the factory collection to be used. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XtfReader(java.io.InputStream in) throws IoxException
in
- Input stream to read from
IoxException
public XtfReader(java.io.InputStreamReader in) throws IoxException
in
- Input reader to read from
IoxException
public XtfReader(java.io.File xtffile) throws IoxException
xtffile
- File to read from
IoxException
Method Detail |
---|
public void close() throws IoxException
IoxReader
close
in interface IoxReader
IoxException
public IoxEvent read() throws IoxException
IoxReader
StartTransferEvent {StartBasketEvent {ObjectEvent} EndBasketEvent} EndTransferEvent
read
in interface IoxReader
IoxException
public IomObject createIomObject(java.lang.String type, java.lang.String oid) throws IoxException
IoxReader
createIomObject
in interface IoxReader
type
- of object to createoid
- may be null
IoxException
public IoxFactoryCollection getFactory() throws IoxException
IoxReader
getFactory
in interface IoxReader
IoxException
public void setFactory(IoxFactoryCollection factory) throws IoxException
IoxReader
setFactory
in interface IoxReader
IoxException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |