Preference

object Preference

Provides factory for Preference.

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(name: String): Preference

Creates preference with supplied name.

Creates preference with supplied name.

def apply(name: String, value: String): Preference

Creates preference with supplied name and value.

Creates preference with supplied name and value.

def apply(name: String, params: Map[String, Option[String]]): Preference

Creates preference with supplied name and params.

Creates preference with supplied name and params.

def apply(name: String, value: String, params: Map[String, Option[String]]): Preference

Creates preference with supplied name, value, and parameters.

Creates preference with supplied name, value, and parameters.

def apply(name: String, value: Option[String], params: Map[String, Option[String]]): Preference

Creates preference with supplied name, optional value, and parameters.

Creates preference with supplied name, optional value, and parameters.

def parse(preference: String): Preference

Parses formatted preference.

Parses formatted preference.

def parseAll(preferences: String): Seq[Preference]

Parses formatted list of preferences.

Parses formatted list of preferences.