org.apache.myfaces.trinidadinternal.resource
Class TrTranslationsResourceLoader

java.lang.Object
  extended by org.apache.myfaces.trinidad.resource.ResourceLoader
      extended by org.apache.myfaces.trinidad.resource.DynamicResourceLoader
          extended by org.apache.myfaces.trinidad.resource.StringContentResourceLoader
              extended by org.apache.myfaces.trinidadinternal.resource.TranslationsResourceLoader
                  extended by org.apache.myfaces.trinidadinternal.resource.TrTranslationsResourceLoader

public class TrTranslationsResourceLoader
extends TranslationsResourceLoader


Constructor Summary
TrTranslationsResourceLoader(java.lang.String path)
          Constructs a dynamic resouce loader for this path which serves up translations
 
Method Summary
protected  java.lang.String getBundleName()
           
protected  int getDefaultSize()
          Override to increase the default size of the buffer.
protected  java.lang.String getJSVarName()
           
protected  java.lang.String getLocaleString(javax.faces.context.FacesContext context)
           
protected  org.apache.myfaces.trinidad.skin.Skin getSkin(javax.faces.context.FacesContext context)
           
 
Methods inherited from class org.apache.myfaces.trinidadinternal.resource.TranslationsResourceLoader
findResource, getContentType, getString
 
Methods inherited from class org.apache.myfaces.trinidad.resource.StringContentResourceLoader
getURL
 
Methods inherited from class org.apache.myfaces.trinidad.resource.ResourceLoader
getContentType, getNullResourceLoader, getParent, getResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrTranslationsResourceLoader

public TrTranslationsResourceLoader(java.lang.String path)
Constructs a dynamic resouce loader for this path which serves up translations

Parameters:
path - the path of this dynamic resource loader
Method Detail

getDefaultSize

protected int getDefaultSize()
Description copied from class: TranslationsResourceLoader
Override to increase the default size of the buffer.

Overrides:
getDefaultSize in class TranslationsResourceLoader

getJSVarName

protected java.lang.String getJSVarName()
Specified by:
getJSVarName in class TranslationsResourceLoader

getBundleName

protected java.lang.String getBundleName()
Specified by:
getBundleName in class TranslationsResourceLoader

getLocaleString

protected java.lang.String getLocaleString(javax.faces.context.FacesContext context)
Overrides:
getLocaleString in class TranslationsResourceLoader

getSkin

protected org.apache.myfaces.trinidad.skin.Skin getSkin(javax.faces.context.FacesContext context)
Overrides:
getSkin in class TranslationsResourceLoader


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.