Package opennlp.tools.ml.maxent.io
Klasse GISModelWriter
java.lang.Object
opennlp.tools.ml.model.AbstractModelWriter
opennlp.tools.ml.AbstractMLModelWriter
opennlp.tools.ml.maxent.io.GISModelWriter
- Bekannte direkte Unterklassen:
BinaryGISModelWriter,QNModelWriter
The base class for writers of
GIS models.
It provides the persist() method which takes care of the structure of a
stored document, and requires an extending class to define precisely how
the data should be stored.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungGISModelWriter(AbstractModel model) Initializes aGISModelWriterfor aGIS model. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidpersist()Writes theGIS model, using theAbstractModelWriter.writeUTF(String),AbstractModelWriter.writeDouble(double), orAbstractModelWriter.writeInt(int)} methods implemented by extending classes.Von Klasse geerbte Methoden opennlp.tools.ml.model.AbstractModelWriter
close, writeDouble, writeInt, writeUTF
-
Konstruktordetails
-
GISModelWriter
Initializes aGISModelWriterfor aGIS model.- Parameter:
model- TheGIS modelto be written.
-
-
Methodendetails
-
persist
Writes theGIS model, using theAbstractModelWriter.writeUTF(String),AbstractModelWriter.writeDouble(double), orAbstractModelWriter.writeInt(int)} methods implemented by extending classes.If you wish to create a
GISModelWriterwhich uses a different structure, it will be necessary to override thepersist()method in addition to implementing thewriteX(..)methods.- Setzt außer Kraft:
persistin KlasseAbstractMLModelWriter- Löst aus:
IOException- Thrown if IO errors occurred.
-