Object

eu.timepit.refined

string

Related Doc: package refined

Permalink

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
Visibility
  1. Public
  2. All

Type Members

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

    Permalink

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

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

    Permalink

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

  3. final case class Regex() extends Product with Serializable

    Permalink

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

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

    Permalink

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

  5. final case class Uri() extends Product with Serializable

    Permalink

    Predicate that checks if a String is a valid URI.

  6. final case class Url() extends Product with Serializable

    Permalink

    Predicate that checks if a String is a valid URL.

  7. final case class Uuid() extends Product with Serializable

    Permalink

    Predicate that checks if a String is a valid UUID.

  8. final case class XPath() extends Product with Serializable

    Permalink

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

  9. final case class Xml() extends Product with Serializable

    Permalink

    Predicate that checks if a String is well-formed XML.

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Permalink
    Definition Classes
    StringValidate
  26. final def wait(): Unit

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

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

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

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

    Permalink
    Definition Classes
    StringValidate

Inherited from StringInference

Inherited from StringValidate

Inherited from AnyRef

Inherited from Any

Ungrouped