public class ConfDottedQuad extends ConfValue implements Cloneable, Serializable, Comparable<ConfDottedQuad>
type string { pattern '(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}' + '([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])'; } }An unsigned 32-bit number expressed in the dotted-quad notation, i.e., four octets written as decimal numbers and separated with the '.' (full stop) character.";
J_BINARY, J_BIT32, J_BIT64, J_BITBIG, J_BOOL, J_BUF, J_CDBBEGIN, J_DATE, J_DATETIME, J_DECIMAL64, J_DEFAULT, J_DOUBLE, J_DQUAD, J_DURATION, J_ENUMERATION, J_HEXSTR, J_IDENTITYREF, J_INSTANCE_IDENTIFIER, J_INT16, J_INT32, J_INT64, J_INT8, J_IPV4, J_IPV4_AND_PLEN, J_IPV4PREFIX, J_IPV6, J_IPV6_AND_PLEN, J_IPV6PREFIX, J_LIST, J_NOEXISTS, J_OBJECTREF, J_OID, J_PTR, J_QNAME, J_STR, J_SYMBOL, J_TIME, J_UINT16, J_UINT32, J_UINT64, J_UINT8, J_UNION, J_XMLBEGIN, J_XMLBEGINDEL, J_XMLEND, J_XMLMOVEAFTER, J_XMLMOVEFIRST, J_XMLTAG
Constructor and Description |
---|
ConfDottedQuad(byte[] val) |
ConfDottedQuad(ConfBinary obj)
Constructs a ConfDottedQuad from a ConfBinary object.
|
ConfDottedQuad(ConfEObject o) |
ConfDottedQuad(String str)
Construct a ConfDottedQuad from a string of bytes in the format of octets
(decimal values) separated with dots.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ConfDottedQuad o) |
ConfEObject |
encode()
encode value.
|
boolean |
equals(Object o)
Determine if two ConfValue are equal.
|
int |
hashCode() |
String |
toString()
Format a dottedQuad as octets separated with dots, as for example:
"1.2.4.192"
|
getStringByValue, getStringByValue, getValueByString, getValueByString
clone, decode
public ConfDottedQuad(String str) throws ConfException
ConfException
public ConfDottedQuad(byte[] val) throws ConfException
ConfException
public ConfDottedQuad(ConfBinary obj) throws ConfException
ConfException
public ConfDottedQuad(ConfEObject o) throws ConfException
ConfException
public String toString()
public int compareTo(ConfDottedQuad o)
compareTo
in interface Comparable<ConfDottedQuad>
public boolean equals(Object o)
ConfValue
public ConfEObject encode()
ConfValue