|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dteoh.treasuremap.ResourceMaps
public final class ResourceMaps
Builder for creating ResourceMaps.
| Constructor Summary | |
|---|---|
ResourceMaps(java.lang.Class<?> c)
Creates a new resource map builder. |
|
ResourceMaps(java.lang.Class<?> c,
java.util.Locale locale)
Creates a new resource map builder with the given locale. |
|
| Method Summary | |
|---|---|
ResourceMaps |
and(java.lang.Class<?> c)
Adds the given class's resource bundle as part of the resource map to build. |
ResourceMap |
build()
Creates a ResourceMap using the currently configured builder. |
ResourceMaps |
withParent(ResourceMap parentMap)
Uses the given resource map as a parent resource map. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceMaps(java.lang.Class<?> c)
c - The class to create the resource map for.
public ResourceMaps(java.lang.Class<?> c,
java.util.Locale locale)
c - The class to create the resource map for.locale - The locale to use when creating resource maps.| Method Detail |
|---|
public ResourceMaps withParent(ResourceMap parentMap)
parentMap - Resource map to use as a parent resource map.
public ResourceMaps and(java.lang.Class<?> c)
c - The class to add to the resource map to be built.
public ResourceMap build()
ResourceMap using the currently configured builder.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||