eu.timepit.refined

string

object string extends StringValidate with StringInference

Module for String related predicates. Note that most of the predicates in collection also work for Strings by treating them as sequences of Chars.

Source
string.scala
Linear Supertypes
StringInference, StringValidate, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. string
  2. StringInference
  3. StringValidate
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class EndsWith[S](s: S) extends Product with Serializable

    Predicate that checks if a String ends with the suffix S.

  2. case class MatchesRegex[S](s: S) extends Product with Serializable

    Predicate that checks if a String matches the regular expression S.

  3. case class Regex() extends Product with Serializable

    Predicate that checks if a String is a valid regular expression.

  4. case class StartsWith[S](s: S) extends Product with Serializable

    Predicate that checks if a String starts with the prefix S.

  5. case class Uri() extends Product with Serializable

    Predicate that checks if a String is a valid URI.

  6. case class Url() extends Product with Serializable

    Predicate that checks if a String is a valid URL.

  7. case class Uuid() extends Product with Serializable

    Predicate that checks if a String is a valid UUID.

  8. case class XPath() extends Product with Serializable

    Predicate that checks if a String is a valid XPath expression.

  9. case class Xml() extends Product with Serializable

    Predicate that checks if a String is valid XML.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. implicit def endsWithInference[A <: String, B <: String](implicit wa: Aux[A], wb: Aux[B]): ==>[EndsWith[A], EndsWith[B]]

    Definition Classes
    StringInference
  9. implicit def endsWithValidate[S <: String](implicit ws: Aux[S]): Plain[String, EndsWith[S]]

    Definition Classes
    StringValidate
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. implicit def matchesRegexValidate[S <: String](implicit ws: Aux[S]): Plain[String, MatchesRegex[S]]

    Definition Classes
    StringValidate
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. implicit def regexValidate: Plain[String, Regex]

    Definition Classes
    StringValidate
  21. implicit def startsWithInference[A <: String, B <: String](implicit wa: Aux[A], wb: Aux[B]): ==>[StartsWith[A], StartsWith[B]]

    Definition Classes
    StringInference
  22. implicit def startsWithValidate[S <: String](implicit ws: Aux[S]): Plain[String, StartsWith[S]]

    Definition Classes
    StringValidate
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. implicit def uriValidate: Plain[String, Uri]

    Definition Classes
    StringValidate
  26. implicit def urlValidate: Plain[String, Url]

    Definition Classes
    StringValidate
  27. implicit def uuidValidate: Plain[String, Uuid]

    Definition Classes
    StringValidate
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. implicit def xmlValidate: Plain[String, Xml]

    Definition Classes
    StringValidate
  32. implicit def xpathValidate: Plain[String, XPath]

    Definition Classes
    StringValidate

Inherited from StringInference

Inherited from StringValidate

Inherited from AnyRef

Inherited from Any

Ungrouped