Class IDILoaderLogsFormatter


  • public class IDILoaderLogsFormatter
    extends java.lang.Object
    This class provides basic functionality for formating and obtaining strings when logging. This class is nly for internal use.
    Since:
    7.1
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getString​(java.lang.String resource)
      Return the NLS string given the resource
      java.lang.String getString​(java.lang.String resource, java.lang.Object param)
      Return the NLS string given the resource and a parameter
      java.lang.String getString​(java.lang.String resource, java.lang.Object[] params)
      Returns the NLS string value for the passed "resource" (key) and replaces the placeholders {0},{1},etc by the corresponding params[0],params[1],etc.
      • Methods inherited from class java.lang.Object

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

      • IDILoaderLogsFormatter

        public IDILoaderLogsFormatter()
        Constructor
    • Method Detail

      • getString

        public java.lang.String getString​(java.lang.String resource)
        Return the NLS string given the resource
      • getString

        public java.lang.String getString​(java.lang.String resource,
                                          java.lang.Object param)
        Return the NLS string given the resource and a parameter
      • getString

        public java.lang.String getString​(java.lang.String resource,
                                          java.lang.Object[] params)
        Returns the NLS string value for the passed "resource" (key) and replaces the placeholders {0},{1},etc by the corresponding params[0],params[1],etc.
        Parameters:
        resource - The key whose value is to be retrieved.
        params - An array of strings which will replace placeholders
        Returns:
        The value with placeholders replaced.