CsvFragment

com.phasmidsoftware.tableparser.core.table.CsvFragment
See theCsvFragment companion trait
object CsvFragment

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromURI(uri: URI): Option[CsvFragment]

Value parameters

uri

a URI.

Attributes

Returns

the CsvFragment of uri, if it has one (and it is valid).

def parse(w: String): Option[CsvFragment]

Method to parse a fragment identifier (the part of a URI after "#"), as RFC 7111 defines it. A fragment identifier with a syntax error must be ignored (RFC 7111, section 4.1), so this gives None.

Method to parse a fragment identifier (the part of a URI after "#"), as RFC 7111 defines it. A fragment identifier with a syntax error must be ignored (RFC 7111, section 4.1), so this gives None.

Value parameters

w

the fragment identifier, e.g. "row=5-7".

Attributes

Returns

Some(CsvFragment), or None if w is not a CSV fragment identifier.

def withoutFragment(uri: URI): URI

Value parameters

uri

a URI.

Attributes

Returns

uri without its fragment.