public class SimpleBinaryParser extends Object implements TableParser, TableWriter
Modifier and Type | Class and Description |
---|---|
class |
SimpleBinaryParser.BinaryParserFactory |
static interface |
SimpleBinaryParser.BinaryTableColumnParser |
static class |
SimpleBinaryParser.HeaderInformation |
Modifier and Type | Field and Description |
---|---|
static String |
ENCODING |
static int |
MAGIC |
Constructor and Description |
---|
SimpleBinaryParser() |
Modifier and Type | Method and Description |
---|---|
SimpleBinaryParser.BinaryParserFactory |
createParserFactory() |
boolean |
isCachable() |
PropertyTableData |
parse(Concept concept) |
PropertyTableData |
parse(Concept concept,
InputStream stream) |
PropertyTableData |
parse(Concept concept,
ReadableByteChannel channel) |
SliceTableData |
parse(Slice slice) |
SliceTableData |
parse(Slice slice,
InputStream stream) |
SliceTableData |
parse(Slice slice,
ReadableByteChannel channel) |
void |
write(Concept concept,
PropertyTableData data,
OutputStream stream) |
void |
write(Concept concept,
PropertyTableData data,
WritableByteChannel channel) |
void |
write(Slice slice,
SliceTableData data,
OutputStream stream) |
void |
write(Slice slice,
SliceTableData data,
WritableByteChannel channel) |
public static final int MAGIC
public static final String ENCODING
public SimpleBinaryParser.BinaryParserFactory createParserFactory()
public boolean isCachable()
isCachable
in interface TableParser
public SliceTableData parse(Slice slice) throws IOException, JAXBException, DsplException
parse
in interface TableParser
IOException
JAXBException
DsplException
public SliceTableData parse(Slice slice, ReadableByteChannel channel) throws IOException, JAXBException, DsplException
parse
in interface TableParser
IOException
JAXBException
DsplException
public SliceTableData parse(Slice slice, InputStream stream) throws IOException, JAXBException, DsplException
parse
in interface TableParser
IOException
JAXBException
DsplException
public PropertyTableData parse(Concept concept) throws IOException, JAXBException, DsplException
parse
in interface TableParser
IOException
JAXBException
DsplException
public PropertyTableData parse(Concept concept, ReadableByteChannel channel) throws IOException, JAXBException, DsplException
parse
in interface TableParser
IOException
JAXBException
DsplException
public PropertyTableData parse(Concept concept, InputStream stream) throws IOException, JAXBException, DsplException
parse
in interface TableParser
IOException
JAXBException
DsplException
public void write(Concept concept, PropertyTableData data, WritableByteChannel channel) throws IOException, DsplException, JAXBException
write
in interface TableWriter
IOException
DsplException
JAXBException
public void write(Concept concept, PropertyTableData data, OutputStream stream) throws IOException, DsplException, JAXBException
write
in interface TableWriter
IOException
DsplException
JAXBException
public void write(Slice slice, SliceTableData data, WritableByteChannel channel) throws IOException, DsplException, JAXBException
write
in interface TableWriter
IOException
DsplException
JAXBException
public void write(Slice slice, SliceTableData data, OutputStream stream) throws IOException, DsplException, JAXBException
write
in interface TableWriter
IOException
DsplException
JAXBException
Copyright © 2016 Metron, Inc.. All rights reserved.