public class CSVStringReader extends CSVReader
| Constructor and Description |
|---|
CSVStringReader(String content,
Character separator,
boolean containsHeader,
String headerPrefix,
String[] ignorePrefixes)
Creates a CSVFileReader
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Returns the string content of this csv string reader
|
CSVIterator |
iterator()
Returns a
CSVIterator for this string readers |
containsHeader, getHeader, getHeaderPrefix, getIgnorePrefixes, getSeparator, initHeader, map, toDataFrameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CSVStringReader(String content, Character separator, boolean containsHeader, String headerPrefix, String[] ignorePrefixes)
content - csv string contentseparator - csv column separatorcontainsHeader - specifies whether file contains header rowheaderPrefix - specifies the prefix of the header rowignorePrefixes - array of prefixes for lines that should be ignoredpublic String getContent()
public CSVIterator iterator()
CSVIterator for this string readersCopyright © 2017. All rights reserved.