Class Util


  • public class Util
    extends java.lang.Object
    Some utility methods.
    Author:
    Holger Eichelberger
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Util()
      Prevents access from outside (utility class).
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String assertValidIdentifier​(java.lang.String identifier)
      Asserts a valid IVML identifier.
      static java.lang.IllegalArgumentException createUnknownImplementationException()
      Creates an unknown implementation exception.
      • Methods inherited from class java.lang.Object

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

      • Util

        private Util()
        Prevents access from outside (utility class).
    • Method Detail

      • createUnknownImplementationException

        public static final java.lang.IllegalArgumentException createUnknownImplementationException()
        Creates an unknown implementation exception.
        Returns:
        the exception instance
      • assertValidIdentifier

        public static final java.lang.String assertValidIdentifier​(java.lang.String identifier)
                                                            throws ModelException
        Asserts a valid IVML identifier.
        Parameters:
        identifier - the identifier to be tested
        Returns:
        identifier
        Throws:
        ModelException - in case that identifier is not valid