Package org.snmp4j.util

Examples of org.snmp4j.util.VariableTextFormat


   * {@link VariableTextFormat} configured by {@link SNMP4JSettings}.
   * @return
   *    a string of the form <code>&lt;OID&gt; = &lt;Variable&gt;</code>.
   */
  public String toString() {
    VariableTextFormat varFormat = SNMP4JSettings.getVariableTextFormat();
    return varFormat.format(oid, variable, true);
  }
View Full Code Here


   * @return
   *    a string of the form <code>&lt;Variable&gt;</code>.
   * @since 1.10
   */
  public String toValueString() {
    VariableTextFormat varFormat = SNMP4JSettings.getVariableTextFormat();
    return varFormat.format(oid, variable, false);
  }
View Full Code Here

TOP

Related Classes of org.snmp4j.util.VariableTextFormat

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.