MultiCellParser

com.phasmidsoftware.tableparser.core.parse.MultiCellParser
trait MultiCellParser[T] extends CellParser[T]

CONSIDER renaming this to something like RowParser, or RawRowParser.

Type parameters

T

the type of the result.

Attributes

Graph
Supertypes
trait CellParser[T]
trait StringConverter[T]
class Object
trait Matchable
class Any
Known subtypes
class ConditionalCellParser[K, P, T]

Members list

Value members

Concrete methods

def convertString(w: String): Try[T]

Convert a String into a T.

Convert a String into a T.

Value parameters

w

the String to be converted.

Attributes

Returns

a new instance of T wrapped in Try

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

Inherited methods

def parse(value: Convertible): Try[T]

Parse a Convertible value into a T.

Parse a Convertible value into a T.

Value parameters

value

the Convertible value.

Attributes

Returns

a new instance of T wrapped in Try.

Inherited from:
CellParser

Inherited and Abstract methods

def parse(wo: Option[String], row: Row, columns: Header): Try[T]

Method to parse an Option[String] to a T.

Method to parse an Option[String] to a T.

Value parameters

columns

the column names. CONSIDER do we actually need the Header parameter here?

row

a Row of values.

wo

an optional String.

Attributes

Returns

a new instance of T.

Inherited from:
CellParser