StandardFlatFileRowParser

fm.flatfile.plain.StandardFlatFileRowParser
See theStandardFlatFileRowParser companion object
final class StandardFlatFileRowParser(val sep: String, val quote: String, val comment: String, strictQuoteEscaping: Boolean) extends FlatFileRowParser

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

final def parsePlainColumnValue(readBuffer: CharSequence, idx: Int, result: StringBuilder): Int

Parse a non-quoted value for a column

Parse a non-quoted value for a column

Attributes

idx

The index to start at

readBuffer

The source buffer to read data from

result

Where to store the resulting column value

Returns:

The index we left off on

final def parseQuotedColumnValue(readBuffer: CharSequence, idx: Int, result: StringBuilder): Int

Parse a quoted value for a column

Parse a quoted value for a column

Attributes

idx

The index to start at

readBuffer

The source buffer to read data from

result

Where to store the resulting column value

Returns:

The index we left off on

final def parseRestOfQuotedColumnValue(readBuffer: CharSequence, idx: Int, result: StringBuilder): Int
final def parseRow(row: CharSequence): IndexedSeq[String]

Parse a single row from the string

Parse a single row from the string

Attributes

final def resumeParsingRow(row: CharSequence, obj: AnyRef): IndexedSeq[String]

Resume parsing a row after getting another line of data. This will only happen when in the middle of parsing a quoted column that spans multiple lines

Resume parsing a row after getting another line of data. This will only happen when in the middle of parsing a quoted column that spans multiple lines

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any

Concrete fields

val comment: String
val quote: String
val sep: String