Class XmpUtil


  • public abstract class XmpUtil
    extends Object
    • Constructor Detail

      • XmpUtil

        public XmpUtil()
    • Method Detail

      • handleScalarQuery

        public static boolean handleScalarQuery​(org.krupczak.xmp.XmpSession session,
                                                String mib,
                                                String object,
                                                String valueOperator,
                                                String valueOperand,
                                                boolean caseSensitive)
                                         throws XmpUtilException

        handleScalarQuery

        Parameters:
        session - a XmpSession object.
        mib - a String object.
        object - a String object.
        valueOperator - a String object.
        valueOperand - a String object.
        caseSensitive - a boolean.
        Returns:
        a boolean.
        Throws:
        XmpUtilException - if any.
      • handleTableQuery

        public static boolean handleTableQuery​(org.krupczak.xmp.XmpSession session,
                                               String mib,
                                               String table,
                                               String object,
                                               String instance,
                                               Pattern instanceRegex,
                                               String valueOperator,
                                               String valueOperand,
                                               int minMatches,
                                               int maxMatches,
                                               boolean maxMatchesUnbounded,
                                               boolean caseSensitive)
                                        throws XmpUtilException

        handleTableQuery

        Parameters:
        session - a XmpSession object.
        mib - a String object.
        table - a String object.
        object - a String object.
        instance - a String object.
        instanceRegex - a Pattern object.
        valueOperator - a String object.
        valueOperand - a String object.
        minMatches - a int.
        maxMatches - a int.
        maxMatchesUnbounded - a boolean.
        caseSensitive - a boolean.
        Returns:
        a boolean.
        Throws:
        XmpUtilException - if any.