Class I18NMessageNP

  • All Implemented Interfaces:
    Serializable

    public class I18NMessageNP
    extends I18NMessage
    An internationalized message, accepting an arbitrary number of parameters.
    Since:
    0.5.0
    Version:
    $Id: I18NMessageNP.java 17760 2018-11-14 14:54:11Z colin $
    Author:
    tlerios@marketcetera.com
    See Also:
    Serialized Form
    • Field Detail

      • SELF_PROXY

        private static final String SELF_PROXY
        The logging proxy name.
    • Method Detail

      • getParamCount

        public int getParamCount()
        Description copied from class: I18NMessage
        Returns the number of parameters the receiver expects.
        Specified by:
        getParamCount in class I18NMessage
        Returns:
        The number of parameters; -1 indicates a variable number.
      • getText

        public String getText​(Locale locale,
                              Object... ps)
        Get the text value.
        Parameters:
        locale - a Locale value
        ps - an Object... value
        Returns:
        a String value
      • getText

        public String getText​(Object... ps)
        Get the text value.
        Parameters:
        ps - an Object... value
        Returns:
        a String value
      • error

        public void error​(Object category,
                          Throwable throwable,
                          Object... ps)
        Log an error message.
        Parameters:
        category - an Object value
        throwable - a Throwable value
        ps - an Object... value
      • error

        public void error​(Object category,
                          Object... ps)
        Log an error message.
        Parameters:
        category - an Object value
        ps - an Object... value
      • warn

        public void warn​(Object category,
                         Throwable throwable,
                         Object... ps)
        Log a warn message.
        Parameters:
        category - an Object value
        throwable - a Throwable value
        ps - an Object... value
      • warn

        public void warn​(Object category,
                         Object... ps)
        Log a warn message.
        Parameters:
        category - an Object value
        ps - an Object... value
      • info

        public void info​(Object category,
                         Throwable throwable,
                         Object... ps)
        Log an info message.
        Parameters:
        category - an Object value
        throwable - a Throwable value
        ps - an Object... value
      • info

        public void info​(Object category,
                         Object... ps)
        Log an info message.
        Parameters:
        category - an Object value
        ps - an Object... value
      • debug

        public void debug​(Object category,
                          Throwable throwable,
                          Object... ps)
        Log a debug message.
        Parameters:
        category - an Object value
        throwable - a Throwable value
        ps - an Object... value
      • debug

        public void debug​(Object category,
                          Object... ps)
        Log a debug message.
        Parameters:
        category - an Object value
        ps - an Object... value
      • trace

        public void trace​(Object category,
                          Throwable throwable,
                          Object... ps)
        Log a trace message.
        Parameters:
        category - an Object value
        throwable - a Throwable value
        ps - an Object... value
      • trace

        public void trace​(Object category,
                          Object... ps)
        Log a trace message.
        Parameters:
        category - an Object value
        ps - an Object... value