|
Deprecated Methods |
com.googlecode.fascinator.common.InetAddressUtil.checkNetmask(InetAddress)
This was an internal implementation detail of the method
InetAddressUtil.contains(java.net.InetAddress, java.net.InetAddress, java.net.InetAddress) and should never have been made public.
Furthermore it's broken for IPv6. (However, there is no real
replacement. If you need this functionality, you should
rewrite it yourself.) |
com.googlecode.fascinator.common.InetAddressUtil.getAddress(String)
This was an internal implementation detail of the method
InetAddressUtil.contains(java.net.InetAddress, java.net.InetAddress, java.net.InetAddress) and should never have been made public.
(And it's unnecessary too, as well as broken for IPv6. ;-)
Use InetAddress.getByName(string) instead. |
com.googlecode.fascinator.common.InetAddressUtil.getClassPart(InetAddress, int)
This was an internal implementation detail of the method
InetAddressUtil.contains(java.net.InetAddress, java.net.InetAddress, java.net.InetAddress) and should never have been made public.
(And it's inefficient and unnecessary too, as well as broken
for IPv6. ;-) Use ip.getAddress()[partNumber]
instead. |