From ece7d18cf35374bf4e26d041799cda8f791c89f8 Mon Sep 17 00:00:00 2001 From: gregor Date: Mon, 7 Jul 2003 10:58:37 +0000 Subject: Initial commit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@2 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../egovernment/moa/util/ResourceBundleChain.html | 240 +++++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/ResourceBundleChain.html (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/ResourceBundleChain.html') diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/ResourceBundleChain.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/ResourceBundleChain.html new file mode 100644 index 000000000..f61f8f03c --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/ResourceBundleChain.html @@ -0,0 +1,240 @@ + + + + + + +MOA SP/SS Server Internal API: Class ResourceBundleChain + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +at.gv.egovernment.moa.util +
+Class ResourceBundleChain

+
+java.lang.Object
+  |
+  +--at.gv.egovernment.moa.util.ResourceBundleChain
+
+
+
+
public class ResourceBundleChain
extends Object
+ +

+A class to chain ResourceBundles. +

+

+
Version:
$Id$
+
Author:
Patrick Peck
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
ResourceBundleChain() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddResourceBundle(ResourceBundle resourceBundle) + +
+          Add a ResourceBundle to the chain.
+ StringgetString(String key) + +
+          Return the value of the resource.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+ResourceBundleChain

+
+public ResourceBundleChain()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addResourceBundle

+
+public void addResourceBundle(ResourceBundle resourceBundle)
+
+
Add a ResourceBundle to the chain.
+
Parameters:
resourceBundle - The ResourceBundle to add.
+
+
+
+ +

+getString

+
+public String getString(String key)
+                 throws MissingResourceException
+
+
Return the value of the resource.
+
Parameters:
key - The key to access the String resource.
Returns:
The resource value. All the registered ResourceBundles + are searched in the order in which they have previously been added to this + ResourceBundleChain.
Throws:
MissingResourceException - The resource coult not be found in any of + the bundles.
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + -- cgit v1.2.3