org.niggle.templates
Class ResourceBundleWrapper

java.lang.Object
  |
  +--org.niggle.templates.ResourceBundleWrapper

public class ResourceBundleWrapper
extends java.lang.Object

An object specifically designed to "wrap" a Resource bundle containing externalized strings for a template engine that uses the get() hook, like WebMacro or Velocity

Author:
Jonathan Revusky

Constructor Summary
ResourceBundleWrapper(java.util.ResourceBundle bundle)
           
 
Method Summary
 java.lang.Object get(java.lang.Object key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBundleWrapper

public ResourceBundleWrapper(java.util.ResourceBundle bundle)
Method Detail

get

public java.lang.Object get(java.lang.Object key)