RawTableParser

com.phasmidsoftware.tableparser.core.parse.RawTableParser
See theRawTableParser companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def create(predicate: Try[RawRow] => Boolean, maybeFixedHeader: Option[Header], forgiving: Boolean = ..., multiline: Boolean = ...): RawTableParser

Method to create a RawTableParser which reads the header from the first line of the input or, if a fixed header is given, expects the input to have no header line.

Method to create a RawTableParser which reads the header from the first line of the input or, if a fixed header is given, expects the input to have no header line.

Value parameters

forgiving

if true then an individual malformed row will not prevent subsequent rows being parsed.

maybeFixedHeader

an optional fixed header. If None, we expect to find the header defined in the first line of the input.

multiline

if true then a row may continue onto the next line.

predicate

a predicate which, if true, allows inclusion of the input row.

Attributes

Returns

a RawTableParser.