|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.trimou.engine.resolver.AbstractResolver
org.trimou.engine.resolver.i18n.LocaleAwareResolver
org.trimou.prettytime.resolver.PrettyTimeResolver
public class PrettyTimeResolver
PrettyTime resolver.
| Field Summary | |
|---|---|
static int |
PRETTY_TIME_RESOLVER_PRIORITY
|
| Fields inherited from class org.trimou.engine.resolver.i18n.LocaleAwareResolver |
|---|
localeSupport |
| Fields inherited from interface org.trimou.engine.priority.WithPriority |
|---|
BUILTIN_RESOLVERS_DEFAULT_PRIORITY, BUILTIN_TEMPLATE_LOCATORS_DEFAULT_PRIORITY, EXTENSION_RESOLVERS_DEFAULT_PRIORITY |
| Constructor Summary | |
|---|---|
PrettyTimeResolver()
|
|
| Method Summary | |
|---|---|
int |
getPriority()
|
void |
init(Configuration configuration)
|
Object |
resolve(Object contextObject,
String name)
|
| Methods inherited from class org.trimou.engine.resolver.i18n.LocaleAwareResolver |
|---|
getCurrentLocale |
| Methods inherited from class org.trimou.engine.resolver.AbstractResolver |
|---|
getConfigurationKeys, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int PRETTY_TIME_RESOLVER_PRIORITY
| Constructor Detail |
|---|
public PrettyTimeResolver()
| Method Detail |
|---|
public Object resolve(Object contextObject,
String name)
public int getPriority()
public void init(Configuration configuration)
init in interface Resolverinit in class LocaleAwareResolver
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||