Package org.opennms.netmgt.jasper.helper
Class SnmpInformantOidResolver
- java.lang.Object
-
- net.sf.jasperreports.engine.JRAbstractScriptlet
-
- net.sf.jasperreports.engine.JRDefaultScriptlet
-
- org.opennms.netmgt.jasper.helper.SnmpInformantOidResolver
-
public abstract class SnmpInformantOidResolver extends net.sf.jasperreports.engine.JRDefaultScriptlet
SnmpInformantOidResolver class.
- Since:
- 1.0-SNAPSHOT
- Version:
- $Id: $
- Author:
- Ronny Trommer
-
-
Constructor Summary
Constructors Constructor Description SnmpInformantOidResolver()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
asciiOidToString(java.lang.String string2convert)
static java.lang.String
stringToAsciiOid(java.lang.String string2convert)
Convert a name of specific device to a decimal ASCII string as OID.-
Methods inherited from class net.sf.jasperreports.engine.JRDefaultScriptlet
afterColumnInit, afterDetailEval, afterGroupInit, afterPageInit, afterReportInit, beforeColumnInit, beforeDetailEval, beforeGroupInit, beforePageInit, beforeReportInit
-
Methods inherited from class net.sf.jasperreports.engine.JRAbstractScriptlet
callAfterColumnInit, callAfterDetailEval, callAfterGroupInit, callAfterPageInit, callAfterReportInit, callBeforeColumnInit, callBeforeDetailEval, callBeforeGroupInit, callBeforePageInit, callBeforeReportInit, getFieldValue, getParameterValue, getParameterValue, getVariableValue, setData, setVariableValue
-
-
-
-
Method Detail
-
stringToAsciiOid
public static java.lang.String stringToAsciiOid(java.lang.String string2convert)
Convert a name of specific device to a decimal ASCII string as OID. For example: For a drive "C:" the SNMP agent addresses this drive by converting 'C' into ASCII int 67 and ':' into ASCII int 58. The output is used as a OID path to the drive, in this example 67.58- Parameters:
string2convert
- String which as to be converted in ASCII integer OID- Returns:
- converted ASCII OID path
-
asciiOidToString
public static java.lang.String asciiOidToString(java.lang.String string2convert)
-
-