|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.SharedResources
Class which holds shared resources. Resources can be shared by name. An optional scope can be given to prevent naming conflicts and a locale and/or style can be given as well.
| Constructor Summary | |
SharedResources()
|
|
| Method Summary | |
void |
add(java.lang.Class scope,
java.lang.String name,
java.util.Locale locale,
java.lang.String style,
Resource resource)
|
void |
add(java.lang.String name,
java.util.Locale locale,
Resource resource)
|
void |
add(java.lang.String name,
Resource resource)
|
Resource |
get(java.lang.Class scope,
java.lang.String name,
java.util.Locale locale,
java.lang.String style)
|
Resource |
get(java.lang.String key)
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. |
static java.lang.String |
path(java.lang.Class scope,
java.lang.String path,
java.util.Locale locale,
java.lang.String style)
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. |
static java.lang.String |
path(java.lang.String path,
java.util.Locale locale,
java.lang.String style)
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SharedResources()
| Method Detail |
public static java.lang.String path(java.lang.String path,
java.util.Locale locale,
java.lang.String style)
path - The resource pathlocale - The localestyle - The style (see Session)
public static java.lang.String path(java.lang.Class scope,
java.lang.String path,
java.util.Locale locale,
java.lang.String style)
scope - The scope of the resourcepath - The resource pathlocale - The localestyle - The style (see Session)
public final void add(java.lang.Class scope,
java.lang.String name,
java.util.Locale locale,
java.lang.String style,
Resource resource)
scope - Scope of resourcename - Logical name of resourcelocale - The locale of the resourcestyle - The resource style (see Session)resource - Resource to store
public final void add(java.lang.String name,
java.util.Locale locale,
Resource resource)
name - Logical name of resourcelocale - The locale of the resourceresource - Resource to store
public final void add(java.lang.String name,
Resource resource)
name - Logical name of resourceresource - Resource to store
public final Resource get(java.lang.Class scope,
java.lang.String name,
java.util.Locale locale,
java.lang.String style)
scope - The resource's scopename - Name of resource to getlocale - The locale of the resourcestyle - The resource style (see Session)
public final Resource get(java.lang.String key)
key - Shared resource key
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||