|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.eventd.db.SnmpInfo
This class is used to format the Snmp block into an appropiate string for storage in the event data storage.
Constructor Summary | |
SnmpInfo()
|
Method Summary | |
static java.lang.String |
format(Snmp info,
int maxlen)
Converts the SNMP iformation from the event into a string that can be stored into the database. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SnmpInfo()
Method Detail |
public static java.lang.String format(Snmp info, int maxlen)
Converts the SNMP iformation from the event into a string that can be stored into the database. The information is formatted in by separating the of the textual fields with a delimiter character (a comma ',').
If the enterprise id text information is not present then the string will have only two commas. An extra comma is not added to signify the missing field.
Constants.DB_ATTRIB_DELIM
,
Constants.escape(java.lang.String, char)
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |