Griffon 1.2.0

org.codehaus.griffon.runtime.util
[Java] Class GroovyScriptResourceBundle

java.lang.Object
  java.util.ResourceBundle
      org.codehaus.griffon.runtime.util.GroovyScriptResourceBundle

public class GroovyScriptResourceBundle
extends ResourceBundle

Authors:
Andres Almiray
Since:
1.1.0


Field Summary
private ConfigObject config

private List keys

 
Constructor Summary
GroovyScriptResourceBundle(URL location)

GroovyScriptResourceBundle(Script script)

GroovyScriptResourceBundle(String script)

GroovyScriptResourceBundle(Class scriptClass)

GroovyScriptResourceBundle(ConfigReader reader, URL location)

GroovyScriptResourceBundle(ConfigReader reader, Script script)

GroovyScriptResourceBundle(ConfigReader reader, String script)

GroovyScriptResourceBundle(ConfigReader reader, Class scriptClass)

private GroovyScriptResourceBundle(ConfigObject config)

 
Method Summary
Enumeration getKeys()

protected Object handleGetObject(String key)

private static ConfigReader resolveConfigReader(ConfigReader reader)

 
Methods inherited from class ResourceBundle
getObject, keySet, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getString, clearCache, clearCache, getStringArray, getLocale, getKeys, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

config

private final ConfigObject config


keys

private final List keys


 
Constructor Detail

GroovyScriptResourceBundle

public GroovyScriptResourceBundle(URL location)


GroovyScriptResourceBundle

public GroovyScriptResourceBundle(Script script)


GroovyScriptResourceBundle

public GroovyScriptResourceBundle(String script)


GroovyScriptResourceBundle

public GroovyScriptResourceBundle(Class scriptClass)


GroovyScriptResourceBundle

public GroovyScriptResourceBundle(ConfigReader reader, URL location)


GroovyScriptResourceBundle

public GroovyScriptResourceBundle(ConfigReader reader, Script script)


GroovyScriptResourceBundle

public GroovyScriptResourceBundle(ConfigReader reader, String script)


GroovyScriptResourceBundle

public GroovyScriptResourceBundle(ConfigReader reader, Class scriptClass)


GroovyScriptResourceBundle

private GroovyScriptResourceBundle(ConfigObject config)


 
Method Detail

getKeys

public Enumeration getKeys()


handleGetObject

protected Object handleGetObject(String key)


resolveConfigReader

private static ConfigReader resolveConfigReader(ConfigReader reader)


 

Groovy Documentation