railo.commons.net
Class IPRange

java.lang.Object
  extended by railo.commons.net.IPRange
All Implemented Interfaces:
Serializable

public class IPRange
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
IPRange()
           
 
Method Summary
static IPRange getInstance(String raw)
           
static IPRange getInstance(String[] raw)
           
 boolean inRange(short[] ip)
           
 boolean inRange(String ip)
           
static short[] toShortArray(String ip)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IPRange

public IPRange()
Method Detail

getInstance

public static IPRange getInstance(String raw)
                           throws IOException
Throws:
IOException

getInstance

public static IPRange getInstance(String[] raw)
                           throws IOException
Throws:
IOException

inRange

public boolean inRange(String ip)
                throws IOException
Throws:
IOException

inRange

public boolean inRange(short[] ip)

toString

public String toString()
Overrides:
toString in class Object

toShortArray

public static short[] toShortArray(String ip)
                            throws IOException
Throws:
IOException


Copyright © 2012 Railo