Class MZTabProperties


  • public final class MZTabProperties
    extends java.lang.Object
    This class will load the properties used by the mzTab-M library for message formatting during validation.
    Since:
    29/01/13
    Author:
    qingwei, nilshoffmann
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ENCODE
      Constant ENCODE="getProperty(mztab.encode)"
      static MZTabErrorType.Level LEVEL
      Constant LEVEL
      static int MAX_ERROR_COUNT
      Constant MAX_ERROR_COUNT=Integer.parseInt(getProperty("mztab.max_error_count"))
      static java.lang.String MZTAB_ERROR_OVERFLOW_EXCEPTION_MESSAGE
      Constant MZTAB_ERROR_OVERFLOW_EXCEPTION_MESSAGE="System error queue overflow!
      static java.lang.String MZTAB_EXCEPTION_MESSAGE
      Constant MZTAB_EXCEPTION_MESSAGE="There exist errors in the metadata sect"{trunked}
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getProperty​(java.lang.String key)
      getProperty.
      • Methods inherited from class java.lang.Object

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

      • MZTAB_EXCEPTION_MESSAGE

        public static final java.lang.String MZTAB_EXCEPTION_MESSAGE
        Constant MZTAB_EXCEPTION_MESSAGE="There exist errors in the metadata sect"{trunked}
        See Also:
        Constant Field Values
      • MZTAB_ERROR_OVERFLOW_EXCEPTION_MESSAGE

        public static final java.lang.String MZTAB_ERROR_OVERFLOW_EXCEPTION_MESSAGE
        Constant MZTAB_ERROR_OVERFLOW_EXCEPTION_MESSAGE="System error queue overflow! + NEW_LINE"
        See Also:
        Constant Field Values
      • ENCODE

        public static final java.lang.String ENCODE
        Constant ENCODE="getProperty(mztab.encode)"
      • MAX_ERROR_COUNT

        public static final int MAX_ERROR_COUNT
        Constant MAX_ERROR_COUNT=Integer.parseInt(getProperty("mztab.max_error_count"))
    • Method Detail

      • getProperty

        public static java.lang.String getProperty​(java.lang.String key)

        getProperty.

        Parameters:
        key - a String object.
        Returns:
        a String object.