IpAddress

object IpAddress extends IpAddressCompanionPlatform
Companion
class
trait IpAddressCompanionPlatform
class Object
trait Matchable
class Any

Value members

Methods

def apply(value: String): Option[IpAddress]
Parses an IP address from a string, either in dotted decimal notation or in RFC4291 notation.
def fromBytes(bytes: Array[Byte]): Option[IpAddress]
Constructs an IP address from either a 4-element byte array or a 16-element byte array. Any other size array results in a None.

Inherited methods

def fromInetAddress(address: InetAddress): IpAddress
Converts the supplied InetAddress to an IpAddress.
Inhertied from
IpAddressCompanionPlatform

Implicits

Implicits

implicit def order[A <: IpAddress]: Order[A]
implicit def ordering[A <: IpAddress]: Ordering[A]
implicit def show[A <: IpAddress]: Show[A]