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
Method Summary |
protected java.lang.String |
getContentType(java.lang.String path)
|
protected abstract java.lang.String |
getString(java.lang.String path)
|
protected java.net.URL |
getURL(java.lang.String path)
Returns a URL to this resource. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringContentResourceLoader
public StringContentResourceLoader(java.lang.String path)
StringContentResourceLoader
public StringContentResourceLoader(java.lang.String path,
ResourceLoader parent)
getContentType
protected java.lang.String getContentType(java.lang.String path)
getString
protected abstract java.lang.String getString(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
getURL
protected java.net.URL getURL(java.lang.String path)
throws java.io.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:
java.io.IOException
- when something bad happens
Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.