|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.loader.IDILoaderLogsFormatter
public class IDILoaderLogsFormatter
This class provides basic functionality for formating and obtaining strings when logging. This class is nly for internal use.
Constructor Summary | |
---|---|
IDILoaderLogsFormatter()
Constructor |
Method Summary | |
---|---|
String |
getString(String resource)
Return the NLS string given the resource |
String |
getString(String resource,
Object param)
Return the NLS string given the resource and a parameter |
String |
getString(String resource,
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 |
---|
public IDILoaderLogsFormatter()
Method Detail |
---|
public String getString(String resource)
public String getString(String resource, Object param)
public String getString(String resource, Object[] params)
resource
- The key whose value is to be retrieved.params
- An array of strings which will replace placeholders
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |