public static enum SmiManager.NonPrintableStringFormat extends Enum<SmiManager.NonPrintableStringFormat>
| Enum Constant and Description |
|---|
asIs
Leaves the non-printable string as it is.
|
binary
Formats non-printable string to binary representation with ':' as separator.
|
decimal
Formats non-printable string to decimal representation with '.' as separator.
|
hex
Formats non-printable string to hexadecimal representation with ':' as separator.
|
octal
Formats non-printable string to octal representation with ':' as separator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRadix() |
char |
getSeparator() |
static SmiManager.NonPrintableStringFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmiManager.NonPrintableStringFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmiManager.NonPrintableStringFormat asIs
public static final SmiManager.NonPrintableStringFormat hex
public static final SmiManager.NonPrintableStringFormat decimal
public static final SmiManager.NonPrintableStringFormat octal
public static final SmiManager.NonPrintableStringFormat binary
public static SmiManager.NonPrintableStringFormat[] values()
for (SmiManager.NonPrintableStringFormat c : SmiManager.NonPrintableStringFormat.values()) System.out.println(c);
public static SmiManager.NonPrintableStringFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic int getRadix()
public char getSeparator()
Copyright © 2015 SNMP4J.com. All Rights Reserved.