object string
Module for statically checking constructors of types that can be
instantiated with Strings.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- string
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.CloneNotSupportedException])
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def regex(s: Refined[String, Regex]): Regex
Creates a
scala.util.matching.Regexfrom a validated string.Creates a
scala.util.matching.Regexfrom a validated string.Example:
scala> import eu.timepit.refined.auto._ | import eu.timepit.refined.util.string.regex scala> regex(".*") res1: scala.util.matching.Regex = .* scala> regex("{") <console>:47: error: Regex predicate failed: Illegal repetition { regex("{") ^
- final def synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def uri(s: Refined[String, Uri]): URI
Creates a
java.net.URIfrom a validated string. - def url(s: Refined[String, Url]): URL
Creates a
java.net.URLfrom a validated string. - def uuid(s: Refined[String, Uuid]): UUID
Creates a
java.net.UUIDfrom a validated string. - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.InterruptedException])
- def xml(s: Refined[String, Xml]): Elem
Creates a
scala.xml.Elemfrom a validated string. - def xpath(s: Refined[String, XPath]): XPathExpression
Creates a
javax.xml.xpath.XPathExpressionfrom a validated string.