com.metsci.glimpse.dspl.parser
Class CsvParser
java.lang.Object
com.metsci.glimpse.dspl.parser.CsvParser
- All Implemented Interfaces:
- TableParser
- Direct Known Subclasses:
- ExtendedCsvParser
public class CsvParser
- extends java.lang.Object
- implements TableParser
The standard DSPL CSV parser capable of parsing CSV files which correspond to Google's
rules for CSV table files.
- Author:
- ulman
Field Summary |
static java.util.logging.Logger |
logger
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final java.util.logging.Logger logger
CsvParser
public CsvParser(DsplParser dsplParser)
createParserFactory
public ParserUtils.ParserFactory 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
Copyright © 2012 Metron, Inc.. All Rights Reserved.