public class SimpleOIDTextFormat extends Object implements OIDTextFormat
SimpleOIDTextFormat implements a simple textual
representation for object IDs as dotted string.| Constructor and Description |
|---|
SimpleOIDTextFormat()
Creates a simple OID text format.
|
public SimpleOIDTextFormat()
public String format(int[] value)
format in interface OIDTextFormatvalue - the OID value to format.public int[] parse(String text) throws ParseException
parse in interface OIDTextFormattext - a textual representation of an OID.ParseException - if the OID cannot be parsed successfully.Copyright © 2014 SNMP4J.org. All rights reserved.