abstract class AddressFactory[T <: Address] extends StringFactory[T]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AddressFactory
- StringFactory
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AddressFactory()
Abstract Value Members
- abstract def fromScriptPubKeyT(spk: ScriptPubKey, np: NetworkParameters): Try[T]
Attempts to create a address from the given ScriptPubKey and NetworkParameters
- abstract def fromString(string: String): T
Tries to parse a string to type t, throws an exception if fails
Tries to parse a string to type t, throws an exception if fails
- Definition Classes
- StringFactory
Concrete 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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 fromScriptPubKey(spk: ScriptPubKey, np: NetworkParameters): T
- def fromScriptPubKeyOpt(spk: ScriptPubKey, np: NetworkParameters): Option[T]
- def fromStringOpt(string: String): Option[T]
Treis to parse a string to type t, returns None if failure
Treis to parse a string to type t, returns None if failure
- Definition Classes
- StringFactory
- def fromStringT(string: String): Try[T]
Tries to parse string to type t, returns scala.util.Failure if the fails
Tries to parse string to type t, returns scala.util.Failure if the fails
- Definition Classes
- StringFactory
- 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
- def isValid(str: String): Boolean
Checks if the given string is a valid address
- 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
- 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()
Deprecated Value Members
- def fromStringExn(str: String): T
Same as fromString, but throws the exception
Same as fromString, but throws the exception
- Annotations
- @deprecated
- Deprecated
(Since version 2020-08-24) Use fromString() instead