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 IPv4() extends Product with Serializable

    Permalink

    Predicate that checks if a String is a valid IPv4

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

    Predicate that checks if a String is a valid URI.

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

    Permalink

    Predicate that checks if a String is a valid URL.

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

    Permalink

    Predicate that checks if a String is a valid UUID.

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

    Permalink

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

  10. 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. object IPv4 extends Serializable

    Permalink
  5. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. implicit def ipv4Validate[S <: String]: Plain[String, IPv4]

    Permalink
    Definition Classes
    StringValidate
  15. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    StringValidate

Inherited from StringInference

Inherited from StringValidate

Inherited from AnyRef

Inherited from Any

Ungrouped