|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.logging.Formatter
java.util.logging.SimpleFormatter
org.jscience.architecture.lift.util.EvenSimplerFormatter
public class EvenSimplerFormatter
DOCUMENT ME!
| Constructor Summary | |
|---|---|
EvenSimplerFormatter()
Constructor for the EvenSimplerFormatter object |
|
| Method Summary | |
|---|---|
java.lang.String |
format(java.util.logging.LogRecord record)
We have to override/hide/shadow the format() of SimpleFormatter. |
static void |
main(java.lang.String[] args)
The main (test) program for the EvenSimplerFormatter. |
java.lang.String |
tryToLocalize(java.lang.String Message,
java.util.logging.LogRecord record)
This Method is created to serve a simple goal: it must try to localize a string if it is possible. |
java.lang.String |
tryToLocalize(java.lang.String Message,
java.util.ResourceBundle MyRB)
This Method is create to serve a simple goal: it must try to localize a string if it is possible. |
| Methods inherited from class java.util.logging.Formatter |
|---|
formatMessage, getHead, getTail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EvenSimplerFormatter()
| Method Detail |
|---|
public java.lang.String format(java.util.logging.LogRecord record)
format in class java.util.logging.SimpleFormatterrecord - The LogRecord to format.
public static void main(java.lang.String[] args)
args - The command line arguments
public java.lang.String tryToLocalize(java.lang.String Message,
java.util.ResourceBundle MyRB)
Message - The message to localize.MyRB - A ResourceBundle that contains localization.
public java.lang.String tryToLocalize(java.lang.String Message,
java.util.logging.LogRecord record)
Message - The message to localize.record - The LogRecord used to get the ResourceBundle.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||