public class CidrAddr extends InetAddr
InetAddr.Family
Constructor and Description |
---|
CidrAddr(byte[] address,
short maskBits) |
CidrAddr(String cidrAddress) |
Modifier and Type | Method and Description |
---|---|
static CidrAddr |
parseCidrAddr(String cidrAddr) |
void |
setAddress(byte[] address) |
void |
setMaskBits(short maskBits) |
equals, getAddress, getFamily, getMaskAddress, getMaskBits, hashCode, parseInetAddr, parseInetAddr, parseInetAddr, parseN, parseN, toInetAddress, toString
public CidrAddr(byte[] address, short maskBits) throws IllegalArgumentException
IllegalArgumentException
public CidrAddr(String cidrAddress) throws IllegalArgumentException
IllegalArgumentException
public void setAddress(byte[] address)
setAddress
in class InetAddr
public void setMaskBits(short maskBits)
setMaskBits
in class InetAddr
public static CidrAddr parseCidrAddr(String cidrAddr) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2013–2017 impossibl.com. All rights reserved.