public class IPAddrValue extends AttributeValue
| Modifier and Type | Field and Description |
|---|---|
protected InetAddress |
inetAddressValue |
| Constructor and Description |
|---|
IPAddrValue() |
IPAddrValue(byte[] bytes) |
IPAddrValue(InetAddress i) |
IPAddrValue(String s) |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(AttributeValue value) |
void |
getBytes(ByteBuffer buffer) |
void |
getBytes(OutputStream out) |
int |
getLength() |
Serializable |
getValueObject() |
void |
setInetAddress(InetAddress inet) |
void |
setValue(byte[] b) |
void |
setValue(byte[] b,
int off,
int len) |
void |
setValue(String s) |
void |
setValueObject(Serializable o) |
String |
toString() |
String |
toXMLString() |
getBytes, getBytes, toDebugStringprotected InetAddress inetAddressValue
public IPAddrValue()
public IPAddrValue(InetAddress i)
public IPAddrValue(String s)
public IPAddrValue(byte[] bytes)
public void copy(AttributeValue value)
copy in class AttributeValuepublic void setValue(String s)
setValue in class AttributeValuepublic int getLength()
getLength in class AttributeValuepublic void getBytes(OutputStream out) throws IOException
getBytes in class AttributeValueIOExceptionpublic void getBytes(ByteBuffer buffer)
getBytes in class AttributeValuepublic void setValue(byte[] b)
setValue in class AttributeValuepublic void setValue(byte[] b,
int off,
int len)
setValue in class AttributeValuepublic String toString()
toString in class AttributeValuepublic String toXMLString()
toXMLString in class AttributeValuepublic void setInetAddress(InetAddress inet)
public Serializable getValueObject()
getValueObject in class AttributeValuepublic void setValueObject(Serializable o)
setValueObject in class AttributeValueCopyright © 2017. All rights reserved.