public abstract class AbstractMappingParser extends Object
Modifier and Type | Field and Description |
---|---|
protected String[] |
currentCols |
protected String |
currentRow |
protected int |
expectedNumCols |
protected int |
lineNumber |
protected BufferedReader |
reader |
Constructor and Description |
---|
AbstractMappingParser() |
Modifier and Type | Method and Description |
---|---|
void |
parse(File file) |
abstract void |
parse(Reader reader) |
void |
parse(String file) |
protected BufferedReader reader
protected String currentRow
protected String[] currentCols
protected int expectedNumCols
protected int lineNumber
public void parse(String file) throws IOException, URISyntaxException
file
- is the location of the mapping file. The location
could be http url, absolute path and uri.IOException
URISyntaxException
public abstract void parse(Reader reader) throws IOException
IOException
public void parse(File file) throws IOException
IOException
Copyright © 2010–2016. All rights reserved.