public class IPRange extends Object
| Constructor and Description | 
|---|
IPRange()  | 
| Modifier and Type | Method and Description | 
|---|---|
static byte[] | 
and(byte[] b1,
   byte[] b2)  | 
static String | 
bitString(byte b)  | 
boolean | 
contains(byte[] testIP)  | 
boolean | 
contains(String ipString)  | 
static boolean | 
equals(byte[] b1,
      byte[] b2)  | 
byte[] | 
getIp()  | 
byte[] | 
getMask()  | 
String | 
getOriginal()  | 
String | 
getRangeString()  | 
static boolean | 
isOn(byte b,
    int pos)  | 
static byte[] | 
maskBits(int bits)  | 
static byte[] | 
maskBits(String bitsString)  | 
static byte[] | 
matchIP(String ip)  | 
boolean | 
setRange(String range)  | 
void | 
setRangeString(String range)  | 
public byte[] getIp()
public byte[] getMask()
public boolean contains(String ipString)
public boolean contains(byte[] testIP)
public String getRangeString()
public void setRangeString(String range)
public String getOriginal()
public boolean setRange(String range)
public static byte[] maskBits(String bitsString)
public static byte[] maskBits(int bits)
public static String bitString(byte b)
public static byte[] and(byte[] b1,
         byte[] b2)
public static boolean equals(byte[] b1,
             byte[] b2)
public static boolean isOn(byte b,
           int pos)
public static byte[] matchIP(String ip)
Copyright © 2005–2015 IIPC. All rights reserved.