Object/Class

fm.common

IP

Related Docs: class IP | package common

Permalink

object IP

Helpers for parsing and working with IPv4 addresses

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val MAX_IP: Long

    Permalink
  5. def apply(ip: Int): IP

    Permalink

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

  6. def apply(bytes: Array[Byte]): IP

    Permalink
  7. def apply(address: InetAddress): IP

    Permalink
  8. def apply(ip: Long): IP

    Permalink
  9. def apply(ip: String): IP

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  12. val empty: IP

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def findAllIPsIn(ips: String): IndexedSeq[IP]

    Permalink
  16. def get(ip: String): Option[IP]

    Permalink
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def isValid(ip: String): Boolean

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. object parse

    Permalink
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toBytes(ip: Long): Array[Byte]

    Permalink
  27. def toBytes(ip: Int): Array[Byte]

    Permalink
  28. def toInt(ip: Long): Int

    Permalink
  29. def toInt(ints: Array[Int]): Int

    Permalink
  30. def toInt(bytes: Array[Byte]): Int

    Permalink
  31. def toInt(ip: String): Int

    Permalink
  32. def toIntArray(ip: Long): Array[Int]

    Permalink
  33. def toIntArray(ip: Int): Array[Int]

    Permalink
  34. def toLong(ip: Int): Long

    Permalink
  35. def toLong(ints: Array[Int]): Long

    Permalink
  36. def toLong(bytes: Array[Byte]): Long

    Permalink
  37. def toLong(ip: String): Long

    Permalink
  38. def toReversedString(ip: Long): String

    Permalink
  39. def toReversedString(ip: Int): String

    Permalink
  40. def toReversedString(ip: String): String

    Permalink
  41. def toString(ip: Long): String

    Permalink
  42. def toString(ip: Int): String

    Permalink
  43. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped