com.metsci.glimpse.dspl.parser
Class SimpleBinaryParser
java.lang.Object
com.metsci.glimpse.dspl.parser.SimpleBinaryParser
- All Implemented Interfaces:
- TableParser, TableWriter
public class SimpleBinaryParser
- extends java.lang.Object
- implements TableParser, TableWriter
Method Summary |
SimpleBinaryParser.BinaryParserFactory |
createParserFactory()
|
boolean |
isCachable()
|
PropertyTableData |
parse(Concept concept)
|
PropertyTableData |
parse(Concept concept,
java.io.InputStream stream)
|
PropertyTableData |
parse(Concept concept,
java.nio.channels.ReadableByteChannel channel)
|
SliceTableData |
parse(Slice slice)
|
SliceTableData |
parse(Slice slice,
java.io.InputStream stream)
|
SliceTableData |
parse(Slice slice,
java.nio.channels.ReadableByteChannel channel)
|
void |
write(Concept concept,
PropertyTableData data,
java.io.OutputStream stream)
|
void |
write(Concept concept,
PropertyTableData data,
java.nio.channels.WritableByteChannel channel)
|
void |
write(Slice slice,
SliceTableData data,
java.io.OutputStream stream)
|
void |
write(Slice slice,
SliceTableData data,
java.nio.channels.WritableByteChannel channel)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAGIC
public static final int MAGIC
- See Also:
- Constant Field Values
ENCODING
public static final java.lang.String ENCODING
- See Also:
- Constant Field Values
SimpleBinaryParser
public SimpleBinaryParser()
createParserFactory
public SimpleBinaryParser.BinaryParserFactory createParserFactory()
isCachable
public boolean isCachable()
- Specified by:
isCachable
in interface TableParser
parse
public SliceTableData parse(Slice slice)
throws java.io.IOException,
javax.xml.bind.JAXBException,
DsplException
- Specified by:
parse
in interface TableParser
- Throws:
java.io.IOException
javax.xml.bind.JAXBException
DsplException
parse
public SliceTableData parse(Slice slice,
java.nio.channels.ReadableByteChannel channel)
throws java.io.IOException,
javax.xml.bind.JAXBException,
DsplException
- Specified by:
parse
in interface TableParser
- Throws:
java.io.IOException
javax.xml.bind.JAXBException
DsplException
parse
public SliceTableData parse(Slice slice,
java.io.InputStream stream)
throws java.io.IOException,
javax.xml.bind.JAXBException,
DsplException
- Specified by:
parse
in interface TableParser
- Throws:
java.io.IOException
javax.xml.bind.JAXBException
DsplException
parse
public PropertyTableData parse(Concept concept)
throws java.io.IOException,
javax.xml.bind.JAXBException,
DsplException
- Specified by:
parse
in interface TableParser
- Throws:
java.io.IOException
javax.xml.bind.JAXBException
DsplException
parse
public PropertyTableData parse(Concept concept,
java.nio.channels.ReadableByteChannel channel)
throws java.io.IOException,
javax.xml.bind.JAXBException,
DsplException
- Specified by:
parse
in interface TableParser
- Throws:
java.io.IOException
javax.xml.bind.JAXBException
DsplException
parse
public PropertyTableData parse(Concept concept,
java.io.InputStream stream)
throws java.io.IOException,
javax.xml.bind.JAXBException,
DsplException
- Specified by:
parse
in interface TableParser
- Throws:
java.io.IOException
javax.xml.bind.JAXBException
DsplException
write
public void write(Concept concept,
PropertyTableData data,
java.nio.channels.WritableByteChannel channel)
throws java.io.IOException,
DsplException,
javax.xml.bind.JAXBException
- Specified by:
write
in interface TableWriter
- Throws:
java.io.IOException
DsplException
javax.xml.bind.JAXBException
write
public void write(Concept concept,
PropertyTableData data,
java.io.OutputStream stream)
throws java.io.IOException,
DsplException,
javax.xml.bind.JAXBException
- Specified by:
write
in interface TableWriter
- Throws:
java.io.IOException
DsplException
javax.xml.bind.JAXBException
write
public void write(Slice slice,
SliceTableData data,
java.nio.channels.WritableByteChannel channel)
throws java.io.IOException,
DsplException,
javax.xml.bind.JAXBException
- Specified by:
write
in interface TableWriter
- Throws:
java.io.IOException
DsplException
javax.xml.bind.JAXBException
write
public void write(Slice slice,
SliceTableData data,
java.io.OutputStream stream)
throws java.io.IOException,
DsplException,
javax.xml.bind.JAXBException
- Specified by:
write
in interface TableWriter
- Throws:
java.io.IOException
DsplException
javax.xml.bind.JAXBException
Copyright © 2012 Metron, Inc.. All Rights Reserved.