Parser.ErrorHandler| Constructor and Description |
|---|
DefaultHdfParser() |
| Modifier and Type | Method and Description |
|---|---|
static ParserFactory |
newFactory()
Returns a factory object that constructs DefaultHdfParser objects.
|
void |
parse(Reader reader,
Data output,
Parser.ErrorHandler errorHandler,
ResourceLoader resourceLoader,
String dataFileName,
boolean ignoreAttributes)
Reads in a stream of characters and parses data from it, putting it into the given Data object.
|
public void parse(Reader reader, Data output, Parser.ErrorHandler errorHandler, ResourceLoader resourceLoader, String dataFileName, boolean ignoreAttributes) throws IOException
Parserparse in interface Parserreader - Reader used to read in the formatted data.output - Data object that the read data structure will be dumped into.errorHandler - Error callback to be called on any error.resourceLoader - ResourceLoader to use to read in included files.dataFileName - Name of a file that is read with reader. It is needed for the purpose of
handling include loops and error messages.ignoreAttributes - whether to store parsed HDF attributes in the Data object or not.IOException - when errors occur reading input.public static ParserFactory newFactory()
Copyright © 2010-2012 Google. All Rights Reserved.