com.bstek.dorado.data.resource
public class DefaultModelResourceBundleManager extends java.lang.Object implements ModelResourceBundleManager
Constructor and Description |
---|
DefaultModelResourceBundleManager() |
Modifier and Type | Method and Description |
---|---|
protected ResourceBundle |
doGetBundle(Resource modelResource,
java.util.Locale locale) |
protected Resource |
findResource(Resource modelResource,
java.util.Locale locale) |
ResourceBundle |
getBundle(Definition definition,
java.util.Locale locale) |
ResourceBundle |
getBundle(Resource resource,
java.util.Locale locale) |
void |
setCache(net.sf.ehcache.Ehcache cache) |
public void setCache(net.sf.ehcache.Ehcache cache)
protected Resource findResource(Resource modelResource, java.util.Locale locale) throws java.io.IOException
java.io.IOException
protected ResourceBundle doGetBundle(Resource modelResource, java.util.Locale locale) throws java.lang.Exception
java.lang.Exception
public ResourceBundle getBundle(Resource resource, java.util.Locale locale) throws java.lang.Exception
getBundle
in interface ModelResourceBundleManager
java.lang.Exception
public ResourceBundle getBundle(Definition definition, java.util.Locale locale) throws java.lang.Exception
getBundle
in interface ModelResourceBundleManager
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.