org.apache.velocity.tools.generic
Class ResourceTool.Key
java.lang.Object
org.apache.velocity.tools.generic.ResourceTool.Key
- Enclosing class:
- ResourceTool
public final class ResourceTool.Key
- extends Object
Internal class used to enable an elegant syntax for accessing
resources.
ResourceTool.Key
public ResourceTool.Key(String key,
String[] bundles,
Object locale,
Object[] args)
get
public ResourceTool.Key get(Object k)
get
public ResourceTool.Key get(String key)
bundle
public ResourceTool.Key bundle(String bundle)
locale
public ResourceTool.Key locale(Object locale)
insert
public ResourceTool.Key insert(Object[] args)
insert
public ResourceTool.Key insert(List args)
insert
public ResourceTool.Key insert(Object arg)
insert
public ResourceTool.Key insert(Object arg0,
Object arg1)
getExists
public boolean getExists()
getRaw
public Object getRaw()
getKeys
public List<String> getKeys()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.