public class PtbTreeOutputCodec extends OutputCodec<Tree>
Constructor and Description |
---|
PtbTreeOutputCodec() |
Modifier and Type | Method and Description |
---|---|
void |
write(Tree tree,
OutputStream ostream)
Writes a string representation of a given object to an output stream.
|
addOptions, asString, asStringSupplier, getAllOutputCodecs, getMetadata, getOption, getOutputCodecByExtension, getOutputCodecByName, getOutputCodecs, hasTrueOption
public void write(Tree tree, OutputStream ostream) throws IOException, UnsupportedOperationException
OutputCodec
write
in class OutputCodec<Tree>
IOException
- if something went wrong with I/OUnsupportedOperationException
- if a problem occurred in computing
the representation of the objectCopyright © 2017. All rights reserved.