Package opennlp.tools.util.model
Klasse ChunkerModelSerializer
java.lang.Object
opennlp.tools.util.model.ChunkerModelSerializer
- Alle implementierten Schnittstellen:
ArtifactSerializer<ChunkerModel>
An
ArtifactSerializer implementation for models.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcreate(InputStream in) Creates an artifact from the providedInputStream.voidserialize(ChunkerModel artifact, OutputStream out) Serializes an artifact to the providedOutputStream.
-
Konstruktordetails
-
ChunkerModelSerializer
public ChunkerModelSerializer()
-
-
Methodendetails
-
create
Beschreibung aus Schnittstelle kopiert:ArtifactSerializerCreates an artifact from the providedInputStream.Note: The
InputStreamremains open.- Angegeben von:
createin SchnittstelleArtifactSerializer<ChunkerModel>- Parameter:
in- A valid, openInputStreamready to read from.- Gibt zurück:
- A valid
artifact. - Löst aus:
IOException- Thrown if IO errors occurred during creation.
-
serialize
Beschreibung aus Schnittstelle kopiert:ArtifactSerializerSerializes an artifact to the providedOutputStream.Note: The
OutputStreamremains open.- Angegeben von:
serializein SchnittstelleArtifactSerializer<ChunkerModel>- Parameter:
artifact- A validartifact.out- A valid, openOutputStreamready to write to.- Löst aus:
IOException- Thrown if IO errors occurred during serialization.
-