Packages

c

org.bitcoins.core.protocol

AddressFactory

abstract class AddressFactory[T <: Address] extends StringFactory[T]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AddressFactory
  2. StringFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AddressFactory()

Abstract Value Members

  1. abstract def fromScriptPubKeyT(spk: ScriptPubKey, np: NetworkParameters): Try[T]

    Attempts to create a address from the given ScriptPubKey and NetworkParameters

  2. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def fromScriptPubKey(spk: ScriptPubKey, np: NetworkParameters): T
  10. def fromScriptPubKeyOpt(spk: ScriptPubKey, np: NetworkParameters): Option[T]
  11. 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
  12. 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
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isValid(str: String): Boolean

    Checks if the given string is a valid address

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. 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

Inherited from StringFactory[T]

Inherited from AnyRef

Inherited from Any

Ungrouped