Class SnmpInformantOidResolver


  • public abstract class SnmpInformantOidResolver
    extends net.sf.jasperreports.engine.JRDefaultScriptlet

    SnmpInformantOidResolver class.

    Since:
    1.0-SNAPSHOT
    Version:
    $Id: $
    Author:
    Ronny Trommer
    • Field Summary

      • Fields inherited from class net.sf.jasperreports.engine.JRAbstractScriptlet

        EXCEPTION_MESSAGE_KEY_FIELD_NOT_FOUND, EXCEPTION_MESSAGE_KEY_PARAMETER_NOT_FOUND, EXCEPTION_MESSAGE_KEY_VARIABLE_NOT_FOUND, EXCEPTION_MESSAGE_KEY_VARIABLE_VALUE_INCOMPATIBLE, fieldsMap, groups, parametersMap, variablesMap
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SnmpInformantOidResolver

        public SnmpInformantOidResolver()
    • 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)