Enum Class SmiManager.NonPrintableStringFormat

java.lang.Object
java.lang.Enum<SmiManager.NonPrintableStringFormat>
com.snmp4j.smi.SmiManager.NonPrintableStringFormat
All Implemented Interfaces:
Serializable, Comparable<SmiManager.NonPrintableStringFormat>, java.lang.constant.Constable
Enclosing class:
SmiManager

public static enum SmiManager.NonPrintableStringFormat extends Enum<SmiManager.NonPrintableStringFormat>
Defines the format for non-printable strings in formatted object identifiers (OIDs).
  • Enum Constant Details

  • Method Details

    • values

      public static SmiManager.NonPrintableStringFormat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SmiManager.NonPrintableStringFormat valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getRadix

      public int getRadix()
      Gets the radix for the non-printable string format.
      Returns:
      the radix (2, 8, 10, or 16).
    • getSeparator

      public char getSeparator()
      Gets the separator between bytes of the non-printable string format.
      Returns:
      a separator character ('.' for decimal or ':' for all others).