public interface AsnOctetsPrintableFace
When the type is ASN_OCTET_STR, the method tries to guess whether or not the string is printable; without the knowledge of the MIB it cannot distinguish between OctetString and any textual conventions, like DisplayString, InternationalDisplayString or DateAndTime.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
version_id |
Modifier and Type | Method and Description |
---|---|
boolean |
isPrintable(byte[] value)
Returns whether or not the AsnOctets' byte array represent a printable
string or not.
|
java.lang.String |
toInternationalDisplayString(byte[] value)
This method provides the implemantation of the
InternationalDisplayString text-convention.
|
static final java.lang.String version_id
boolean isPrintable(byte[] value)
java.lang.String toInternationalDisplayString(byte[] value)
"This data type is used to model textual information in some character set. A network management station should use a local algorithm to determine which character set is in use and how it should be displayed. Note that this character set may be encoded with more than one octet per symbol, but will most often be NVT ASCII. When a size clause is specified for an object of this type, the size refers to the length in octets, not the number of symbols."