Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" 
for change notification.

The following page has been changed by NiallPemberton:
http://wiki.apache.org/jakarta-commons/ResourcesUserGuideImplementations

------------------------------------------------------------------------------
- || [wiki:ResourcesUserGuide Contents] || [wiki:ResourcesUserGuideIntro 
Getting Started] || [wiki:ResourcesUserGuideMessages Messages] || 
[wiki:ResourcesUserGuideImplementations Standard] || 
[wiki:ResourcesUserGuideCreating Creating] ||
+ || [http://jakarta.apache.org/commons/resources/ Home] || [wiki:Resources 
Wiki] || [wiki:ResourcesUserGuide Guide] || [wiki:ResourcesUserGuideIntro 
Getting Started] || [wiki:ResourcesUserGuideMessages Messages] || 
[wiki:ResourcesUserGuideImplementations Standard] || 
[wiki:ResourcesUserGuideCreating Creating] || 
[http://jakarta.apache.org/commons/resources/apidocs/ API] || 
[http://jakarta.apache.org/commons/resources/xref/ XREF] ||
  ----
  = 3. Standard Resources / ResourcesFactory Implementations =
  
@@ -51, +51 @@

         ResourcesFactory factory = new PropertyResourcesFactory();
  
         // Create the Resources
-        Resources resources = factory.createResources("Bar", 
"file:c:/myapp/foo/Bar");
+        Resources resources = factory.getResources("Bar", 
"file:c:/myapp/foo/Bar");
  
         // Retrieve an i18n String value
         String msg = resources.getString("some.key", locale, null);
@@ -94, +94 @@

         ResourcesFactory factory = new XMLResourcesFactory();
  
         // Create the Resources
-        Resources resources = factory.createResources("Bar", 
"file:c:myapp/foo/Bar");
+        Resources resources = factory.getResources("Bar", 
"file:c:myapp/foo/Bar");
  
         // Retrieve an i18n String value
         String msg = resources.getString("some.key", locale, null);
@@ -133, +133 @@

         ResourcesFactory factory = new JDBCResourcesFactory();
  
         // Create the Resources
-        Resources resources = factory.createResources("Bar", 
"file:c:myapp/foo/Bar");
+        Resources resources = factory.getResources("Bar", 
"file:c:myapp/foo/Bar");
  
         // Retrieve an i18n String value
         String msg = resources.getString("some.key", locale, null);
@@ -152, +152 @@

         factory.setServletContext(servletContext);
  
         // Create the Resources
-        Resources resources = factory.createResources("Bar", 
"/org/apache/struts/Bar");
+        Resources resources = factory.getResources("Bar", 
"/org/apache/struts/Bar");
  
         // Retrieve an i18n String value
         String msg = resources.getString("some.key", locale, null);
@@ -171, +171 @@

         factory.setServletContext(servletContext);
  
         // Create the Resources
-        Resources resources = factory.createResources("Bar", 
"/org/apache/struts/Bar");
+        Resources resources = factory.getResources("Bar", 
"/org/apache/struts/Bar");
  
         // Retrieve an i18n String value
         String msg = resources.getString("some.key", locale, null);
@@ -190, +190 @@

         ResourcesFactory factory = new ResourceBundleResourcesFactory();
  
         // Create the Resources
-        Resources resources = factory.createResources("Bar", "BarResources");
+        Resources resources = factory.getResources("Bar", "BarResources");
  
         // Retrieve an i18n String value
         String msg = resources.getString("some.key", locale, null);
@@ -201, +201 @@

  
  
  ----
- || [wiki:ResourcesUserGuide Contents] || [wiki:ResourcesUserGuideIntro 
Getting Started] || [wiki:ResourcesUserGuideMessages Messages] || 
[wiki:ResourcesUserGuideImplementations Standard] || 
[wiki:ResourcesUserGuideCreating Creating] ||
+ || [http://jakarta.apache.org/commons/resources/ Home] || [wiki:Resources 
Wiki] || [wiki:ResourcesUserGuide Guide] || [wiki:ResourcesUserGuideIntro 
Getting Started] || [wiki:ResourcesUserGuideMessages Messages] || 
[wiki:ResourcesUserGuideImplementations Standard] || 
[wiki:ResourcesUserGuideCreating Creating] || 
[http://jakarta.apache.org/commons/resources/apidocs/ API] || 
[http://jakarta.apache.org/commons/resources/xref/ XREF] ||
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to