object ValidFormatInput extends ValidFormatInputInstances
Convenience version of ValidFormat when the error type is NonEmptyChain[String] and T = String.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ValidFormatInput
- ValidFormatInputInstances
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- def apply[A](getValidated: (String) => ValidatedNec[String, A], reverseGet: (A) => String): ValidFormatInput[A]
Build optic from getValidated and reverseGet functions.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromFormat[A](format: Format[String, A], errorMessage: String = "Invalid format"): ValidFormatInput[A]
Build optic from a Format
- def fromFormatOptional[A](format: Format[String, A], errorMessage: String = "Invalid format"): ValidFormatInput[Option[A]]
Build optic from a Format but allow empty values to become
None - def fromIso[A](iso: Iso[String, A]): ValidFormatInput[A]
Build optic from a Iso
- def fromPrism[A](prism: Prism[String, A], errorMessage: String = "Invalid value"): ValidFormatInput[A]
Build optic from a Prism
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val id: ValidFormatInput[String]
Build optic that's always valid and doesn't normalize or format
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nonEmptyValidFormat: ValidFormatInput[NonEmptyString]
- Definition Classes
- ValidFormatInputInstances
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val upperNESValidFormat: ValidFormatInput[UpperNES]
- Definition Classes
- ValidFormatInputInstances
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated