org.richfaces.resource
Class CompiledCSSResource
java.lang.Object
javax.faces.application.Resource
org.richfaces.resource.AbstractBaseResource
org.richfaces.resource.AbstractCacheableResource
org.richfaces.resource.CompiledCSSResource
- All Implemented Interfaces:
- org.richfaces.resource.CacheableResource, org.richfaces.resource.StateHolderResource
public class CompiledCSSResource
- extends AbstractCacheableResource
- implements org.richfaces.resource.StateHolderResource
- Author:
- amarkhel Class, that represented dynamic CSS resource.
Fields inherited from class javax.faces.application.Resource |
COMPONENT_RESOURCE_KEY |
Constructor Summary |
CompiledCSSResource(java.lang.String resourceName,
java.lang.String libraryName,
javax.faces.application.ResourceHandler defaultHandler)
|
Methods inherited from class javax.faces.application.Resource |
getLibraryName, getResourceName, 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 resourceName,
java.lang.String libraryName,
javax.faces.application.ResourceHandler defaultHandler)
getResourceInputStream
public java.io.InputStream getResourceInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
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 org.richfaces.resource.StateHolderResource
readState
public void readState(javax.faces.context.FacesContext context,
java.io.DataInput dataInput)
throws java.io.IOException
- Specified by:
readState
in interface org.richfaces.resource.StateHolderResource
- Throws:
java.io.IOException
writeState
public void writeState(javax.faces.context.FacesContext context,
java.io.DataOutput dataOutput)
throws java.io.IOException
- Specified by:
writeState
in interface org.richfaces.resource.StateHolderResource
- Throws:
java.io.IOException
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.