public class FixedLenReader extends java.lang.Object implements SimpleReader
| Constructor and Description |
|---|
FixedLenReader(java.io.Reader reader,
CSVStoreParameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getColumnsCount() |
java.lang.String[] |
getHeader() |
int |
getLine() |
java.util.List<java.lang.String> |
nextRowValues() |
java.util.List<java.lang.String> |
parse(java.lang.String line) |
java.util.List<java.lang.String> |
read() |
java.util.List<java.lang.String> |
skip(int lines) |
public FixedLenReader(java.io.Reader reader,
CSVStoreParameters parameters)
public java.lang.String[] getHeader()
throws java.io.IOException
getHeader in interface SimpleReaderjava.io.IOExceptionpublic int getColumnsCount()
throws java.io.IOException
getColumnsCount in interface SimpleReaderjava.io.IOExceptionpublic java.util.List<java.lang.String> read()
throws java.io.IOException
read in interface SimpleReaderjava.io.IOExceptionpublic java.util.List<java.lang.String> parse(java.lang.String line)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface SimpleReaderjava.io.IOExceptionpublic java.util.List<java.lang.String> skip(int lines)
throws java.io.IOException
skip in interface SimpleReaderjava.io.IOExceptionpublic int getLine()
getLine in interface SimpleReaderpublic java.util.List<java.lang.String> nextRowValues()
nextRowValues in interface AutomaticDetectionOfTypes.Rows