Java Network Network Address

Java examples for Network:Network Address

Description

Click the following links for the tutorial for Network and Network Address.

  1. get My Address as InetAddress
  2. get My Host Name from InetAddress
  3. parse host And Port via InetSocketAddress
  4. Parse space delimited address [:port] string and return array of InetSocketAddress.
  5. get InetAddress and default Charset Name
  6. When using the java.net.InetAddress#getHostName() method in an environment where neither a proper DNS lookup nor an /etc/hosts entry exists for a given host,
  7. Returns a collection of all addresses which do not have a local scope (loopbacks etc).
  8. Returns the address which is most likely the external address.


  9. Returns true when the given address is a local address.
  10. Returns true if the given address represents the local host.
  11. Parses the string and returns a InetSocketAddress.
  12. get Inet Address By List
  13. Creates an array of InetSocketAddress given an array of String
  14. get Byte array Of Host Address
  15. get Host Address Of Byte array
  16. get String Of Sub Network Address Ranges


  17. get Sub Network Address Range
  18. is Valid Address In Net block String
  19. get Inet Socket Address
  20. get Single InetSocketAddress
  21. get Port from SocketAddress
  22. local SocketAddress
  23. get Private InetAddress
  24. get Public InetAddress
  25. merge mail Addresses
  26. Increment subnet based on how subnets are to be divided e.g.
  27. check if one subnet is in range of the other, useful , for dividing subnet into chunks
  28. Replies the IPv4 loopback address.
  29. Replies the first IPv4 public address.
  30. Given a starting InetAddress and an ending InetAddress compute a raw subnet mask that will be used as the mask for the isOnNetwork() method.
  31. Given a stating InetAddress and an ending InetAddress compute an InetAddress instance that will be used as the network for the isOnNetwork() method.