SingleCellParser

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

Trait SingleCellParser, which extends CellParser[T].

Type parameters

T

the type of the resulting object.

Attributes

Graph
Supertypes
trait CellParser[T]
trait StringConverter[T]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def parse(w: 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.

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 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

Inherited from:
StringConverter