|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OIDTextFormat
The OIDTextFormat
provides a textual representation of a raw
object ID.
Method Summary | |
---|---|
java.lang.String |
format(int[] value)
Returns a textual representation of a raw object ID, for example as dotted string ("1.3.6.1.4") or object name ("ifDescr") depending on the formats representation rules. |
int[] |
parse(java.lang.String text)
Parses a textual representation of an object ID and returns its raw value. |
Method Detail |
---|
java.lang.String format(int[] value)
value
- the OID value to format.
int[] parse(java.lang.String text) throws java.text.ParseException
text
- a textual representation of an OID.
java.text.ParseException
- if the OID cannot be parsed successfully.
|
Copyright 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |