BooleanCellParser

com.phasmidsoftware.tableparser.core.parse.CellParser.BooleanCellParser
object BooleanCellParser extends SingleCellParser[Boolean]

Attributes

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

Members list

Value members

Concrete methods

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

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[Boolean]

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[Boolean]

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