Parseable

com.phasmidsoftware.tableparser.core.parse.Parseable
See theParseable companion object
trait Parseable[T]

Type class which describes a type which can be parsed from a String.

Type parameters

T

the resulting type.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def parse(s: String, optModifier: Option[String] = ...): Try[T]

Parse a String as a Try[T].

Parse a String as a Try[T].

Value parameters

s

the String to be parsed.

Attributes

Returns

the corresponding value of type T, wrapped in Try.