public class ImportTextParser
extends java.lang.Object
Constructor and Description |
---|
ImportTextParser(java.io.Reader reader) |
ImportTextParser(java.io.Reader reader,
char fieldDelim,
char stringDelim) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the reader for this parser
|
protected char |
getNextChar() |
boolean |
hasMore() |
java.util.ArrayList |
nextLine()
Get all the values from a line.
|
protected char |
previewNextChar() |
void |
setFieldDelimiter(char delim) |
void |
setStringDelimiter(char delim) |
public ImportTextParser(java.io.Reader reader)
reader
- public ImportTextParser(java.io.Reader reader, char fieldDelim, char stringDelim)
reader
- fieldDelim
- stringDelim
- public void setFieldDelimiter(char delim)
delim
- public void setStringDelimiter(char delim)
delim
- public void close() throws java.io.IOException
java.io.IOException
- if an error occurs while closing the reader.public java.util.ArrayList nextLine() throws java.io.IOException
java.io.IOException
- if an error occurs while reading.public boolean hasMore()
protected char getNextChar() throws java.io.IOException
java.io.IOException
- if an IO exception occurs.protected char previewNextChar() throws java.io.IOException
java.io.IOException
- if an IO exception occurs.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.