org.jclouds.util
Class InetAddresses2

java.lang.Object
  extended by org.jclouds.util.InetAddresses2

public class InetAddresses2
extends Object

Author:
Adrian Cole

Nested Class Summary
static class InetAddresses2.IsPrivateIPAddress
           
 
Constructor Summary
InetAddresses2()
           
 
Method Summary
static boolean isPrivateIPAddress(String in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InetAddresses2

public InetAddresses2()
Method Detail

isPrivateIPAddress

public static boolean isPrivateIPAddress(String in)
Returns:
true if the input is an ip4 address and in one of the 3 reserved private blocks.


Copyright © 2009-2011 jclouds. All Rights Reserved.