public class NoSignatureBinaryIrtgInputCodec extends BinaryIrtgInputCodec
Constructor and Description |
---|
NoSignatureBinaryIrtgInputCodec(InterpretedTreeAutomaton referenceIRTG) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
translates first argument IRTG into normal irtb format, using second argument
IRTG as reference for signatures
|
InterpretedTreeAutomaton |
read(InputStream is)
Reads an object from an input stream.
|
addOptions, getAllInputCodecs, getInputCodecByExtension, getInputCodecByName, getInputCodecByNameOrExtension, getInputCodecs, getMetadata, getOption, hasTrueOption, read, setOption, setProgressListener
public NoSignatureBinaryIrtgInputCodec(InterpretedTreeAutomaton referenceIRTG)
public InterpretedTreeAutomaton read(InputStream is) throws CodecParseException, IOException
InputCodec
read
in class BinaryIrtgInputCodec
CodecParseException
- if an error occurred while decoding
the input stream into an objectIOException
- if an error occurred while reading
data from the input streampublic static void main(String[] args) throws FileNotFoundException, CodecParseException, IOException
args
- FileNotFoundException
CodecParseException
IOException
Copyright © 2017. All rights reserved.