org.richfaces.resource
Class CompiledCSSResource
java.lang.Object
javax.faces.application.Resource
org.richfaces.resource.AbstractCacheableResource
org.richfaces.resource.AbstractBaseResource
org.richfaces.resource.CompiledCSSResource
- All Implemented Interfaces:
- javax.faces.component.StateHolder, org.richfaces.resource.VersionedResource
public class CompiledCSSResource
- extends AbstractBaseResource
- implements javax.faces.component.StateHolder
- Author:
- amarkhel Class, that represented dynamic CSS resource.
Fields inherited from class javax.faces.application.Resource |
COMPONENT_RESOURCE_KEY |
Methods inherited from class org.richfaces.resource.AbstractBaseResource |
getClassLoader, getContentLength, getEntityTag, getExpires, getLastModified, getRequestPath, getResponseHeaders, getTimeToLive, getURL, getVersion, isCacheable, setCacheable, setVersion |
Methods inherited from class javax.faces.application.Resource |
getLibraryName, setContentType, setLibraryName, setResourceName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CompiledCSSResource
public CompiledCSSResource(java.lang.String resourcePath)
getResourceName
public java.lang.String getResourceName()
- Overrides:
getResourceName
in class javax.faces.application.Resource
getResourceInputStream
public java.io.InputStream getResourceInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getCurrentLoader
public static java.lang.ClassLoader getCurrentLoader(java.lang.Object fallbackClass)
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Specified by:
getInputStream
in class javax.faces.application.Resource
- Throws:
java.io.IOException
getContentType
public java.lang.String getContentType()
- Overrides:
getContentType
in class javax.faces.application.Resource
userAgentNeedsUpdate
public boolean userAgentNeedsUpdate(javax.faces.context.FacesContext context)
- Overrides:
userAgentNeedsUpdate
in class AbstractCacheableResource
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface javax.faces.component.StateHolder
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
setTransient
public void setTransient(boolean newTransientValue)
- Specified by:
setTransient
in interface javax.faces.component.StateHolder
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.