wicket.resource.loader
Class ApplicationStringResourceLoader

java.lang.Object
  extended by wicket.resource.loader.AbstractStringResourceLoader
      extended by wicket.resource.loader.ClassStringResourceLoader
          extended by wicket.resource.loader.ApplicationStringResourceLoader
All Implemented Interfaces:
IStringResourceLoader

public class ApplicationStringResourceLoader
extends ClassStringResourceLoader

This string resource loader attempts to find a single resource bundle that has the same name and location as the application. If this bundle is found then strings are obtained from here. This implementation is fully aware of both locale and style values when trying to obtain the appropriate bundle.

Author:
Chris Turner, Juergen Donnerstag TODO Post 1.2: remove it. It doesn't provide any value compared to ClassStringResourceLoader

Field Summary
 
Fields inherited from class wicket.resource.loader.AbstractStringResourceLoader
application
 
Constructor Summary
ApplicationStringResourceLoader(Application application)
          Create and initialise the resource loader.
 
Method Summary
 
Methods inherited from class wicket.resource.loader.ClassStringResourceLoader
loadStringResource
 
Methods inherited from class wicket.resource.loader.AbstractStringResourceLoader
getProperties, isStopResourceSearch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationStringResourceLoader

public ApplicationStringResourceLoader(Application application)
Create and initialise the resource loader.

Parameters:
application - The application that this resource loader is associated with


Copyright © 2004-2007 Wicket developers. All Rights Reserved.