Packages

object IP

Helpers for parsing and working with IPv4 addresses

Source
IP.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IP
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. val MAX_IP: Long
  5. def apply(ip: Int): IP

    The single apply() method that actually creates an IP object

  6. def apply(bytes: Array[Byte]): IP
  7. def apply(address: InetAddress): IP
  8. def apply(ip: Long): IP
  9. def apply(ip: String): IP
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  12. val empty: IP
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def findAllIPsIn(ips: String): IndexedSeq[IP]
  16. def get(ip: String): Option[IP]
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isValid(ip: String): Boolean

    Is this a valid IPv4 Address formatted as xxx.xxx.xxx.xxx ? NOTE!: This doesn't mean the apply() method will fail since it does hostname resolution.

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toBytes(ip: Long): Array[Byte]
  26. def toBytes(ip: Int): Array[Byte]
  27. def toInt(ip: Long): Int
  28. def toInt(ints: Array[Int]): Int
  29. def toInt(bytes: Array[Byte]): Int
  30. def toInt(ip: String): Int
  31. def toIntArray(ip: Long): Array[Int]
  32. def toIntArray(ip: Int): Array[Int]
  33. def toLong(ip: Int): Long
  34. def toLong(ints: Array[Int]): Long
  35. def toLong(bytes: Array[Byte]): Long
  36. def toLong(ip: String): Long
  37. def toReversedString(ip: Long): String
  38. def toReversedString(ip: Int): String
  39. def toReversedString(ip: String): String
  40. def toString(ip: Long): String
  41. def toString(ip: Int): String
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. object parse

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped