org.richfaces.cdk.resource.handler.impl
Class VFSResource
java.lang.Object
javax.faces.application.Resource
org.richfaces.cdk.resource.handler.impl.VFSResource
public class VFSResource
- extends javax.faces.application.Resource
- Author:
- Nick Belaevski
Fields inherited from class javax.faces.application.Resource |
COMPONENT_RESOURCE_KEY |
Methods inherited from class javax.faces.application.Resource |
getContentType, getLibraryName, getResourceName, setContentType, setLibraryName, setResourceName, toString |
VFSResource
public VFSResource(VirtualFile file,
String relativePath)
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in class javax.faces.application.Resource
- Throws:
IOException
getResponseHeaders
public Map<String,String> getResponseHeaders()
- Specified by:
getResponseHeaders
in class javax.faces.application.Resource
getRequestPath
public String getRequestPath()
- Specified by:
getRequestPath
in class javax.faces.application.Resource
getURL
public URL getURL()
- Specified by:
getURL
in class javax.faces.application.Resource
userAgentNeedsUpdate
public boolean userAgentNeedsUpdate(javax.faces.context.FacesContext context)
- Specified by:
userAgentNeedsUpdate
in class javax.faces.application.Resource
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.