org.apache.myfaces.trinidad.resource
Class StringContentResourceLoader
java.lang.Object
org.apache.myfaces.trinidad.resource.ResourceLoader
org.apache.myfaces.trinidad.resource.DynamicResourceLoader
org.apache.myfaces.trinidad.resource.StringContentResourceLoader
public abstract class StringContentResourceLoader
- extends DynamicResourceLoader
StringContentResourceLoader
public StringContentResourceLoader(String path)
StringContentResourceLoader
public StringContentResourceLoader(String path,
ResourceLoader parent)
getContentType
protected String getContentType(String path)
getString
protected abstract String getString(String path)
throws IOException
- Throws:
IOException
getURL
protected URL getURL(String path)
throws IOException
- Description copied from class:
DynamicResourceLoader
- Returns a URL to this resource. This URL should have a valid connection.'
- Specified by:
getURL
in class DynamicResourceLoader
- Parameters:
path
- the path of the findResourceCall
- Returns:
- a url for this Resource
- Throws:
IOException
- when something bad happens
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.