object StringMatcher extends StringMatcherPlatform
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StringMatcher
- StringMatcherPlatform
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class Base64Matcher extends StringMatcher[Array[Byte]]
Base class for converting between Base64 strings and byte arrays.
Base class for converting between Base64 strings and byte arrays. Use the
AsBase64
orAsBase64UrlSafe
objects rather than extending this yourself. - class TokenSeparated[F[_], T] extends (String) => F[T]
- Definition Classes
- StringMatcherPlatform
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
- implicit val AsBoolean: StringMatcher[Boolean]
- implicit val AsDouble: StringMatcher[Double]
- implicit val AsInt: StringMatcher[Int]
- implicit val AsLong: StringMatcher[Long]
- implicit val AsTimeUnit: StringMatcher[TimeUnit]
- implicit val AsUUID: StringMatcher[UUID]
- implicit val AsUrl: StringMatcher[URL]
- implicit val Identity: StringMatcher[String]
- def apply[T](conversion: (String) => T): StringMatcher[T]
- def as[T](str: String)(implicit matcher: StringMatcher[T]): Option[T]
- def asBoolean(str: String): Option[Boolean]
- def asDouble(str: String): Option[Double]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asInt(str: String): Option[Int]
- def asLong(str: String): Option[Long]
- def asTimeUnit(str: String): Option[TimeUnit]
- def asUUID(str: String): Option[UUID]
- def asUrl(str: String): Option[URL]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def commaSeparated[F[_], T](implicit factory: Factory[T, F[T]], segmentMatcher: StringMatcher[T]): TokenSeparated[F, T]
- Definition Classes
- StringMatcherPlatform
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromAttempt[T](f: (String) => Try[T]): StringMatcher[T]
- def fromMatch[T](f: (String) => Option[T]): StringMatcher[T]
- final def getClass(): Class[_ <: AnyRef]
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tokenSeparated[F[_], T](separator: String)(implicit factory: Factory[T, F[T]], segmentMatcher: StringMatcher[T]): TokenSeparated[F, T]
- Definition Classes
- StringMatcherPlatform
- 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
- @throws(classOf[java.lang.InterruptedException]) @native()
- object AsBase64 extends Base64Matcher
Convert between raw bytes and their Base64-encoded forms.
Convert between raw bytes and their Base64-encoded forms. The default encoding uses '+' and '/' characters.
- object AsBase64UrlSafe extends Base64Matcher
Convert between raw bytes and their Base64-encoded forms.
Convert between raw bytes and their Base64-encoded forms. The url-safe encoding uses '-' and '_' characters.