|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.events.EventFormatter
public final class EventFormatter
Converts events into human-readable, localized messages.
Nested Class Summary | |
---|---|
static class |
EventFormatter.LookupFieldPartFactory
PartFactory for lookups. |
Method Summary | |
---|---|
static java.lang.String |
format(Event event)
Formats an event using the default locale. |
static java.lang.String |
format(Event event,
java.util.Locale locale)
Formats an event using a given locale. |
static java.lang.String |
format(Event event,
java.lang.String pattern)
Formats the event using a given pattern. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String format(Event event)
event
- the event
public static java.lang.String format(Event event, java.util.Locale locale)
event
- the eventlocale
- the locale
public static java.lang.String format(Event event, java.lang.String pattern)
AdvancedMessageFormat
.
event
- the eventpattern
- the pattern (compatible with AdvancedMessageFormat
)
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |