StringCellParser

com.phasmidsoftware.tableparser.core.parse.CellParser.StringCellParser
object StringCellParser extends SingleCellParser[String]

This parser succeeds on empty strings.

Attributes

Graph
Supertypes
trait SingleCellParser[String]
trait CellParser[String]
trait StringConverter[String]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

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

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

Inherited methods

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

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:
SingleCellParser
def parse(value: Convertible): Try[String]

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