|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ajax4jsf.resource.InternetResourceBase
org.ajax4jsf.resource.JarResource
public class JarResource
Class stoped all resources in application classpath. TODO - set last midified & expired values.
Field Summary | |
---|---|
static java.lang.String |
RESOURCES_ROOT
Default place for all static resources in Jar. |
Fields inherited from interface org.ajax4jsf.resource.InternetResource |
---|
CODEC_ATTR, DATA_SEPARATOR, DEFAULT_EXPIRE, DEFAULT_EXPITE_PARAMETER, ENCODE_PASS_PARAMETER, ENCODE_URI_PARAMETER, RESOURCE_PROTOCOL, RESOURCE_URI_PREFIX, RESOURCE_URI_PREFIX_LENGTH |
Constructor Summary | |
---|---|
JarResource()
|
|
JarResource(java.lang.String path)
|
Method Summary | |
---|---|
java.lang.String |
getPath()
|
java.io.InputStream |
getResourceAsStream(ResourceContext context)
|
void |
setPath(java.lang.String path)
|
Methods inherited from class org.ajax4jsf.resource.InternetResourceBase |
---|
deserializeData, encode, encode, encodeBegin, encodeEnd, getContentLength, getContentType, getDataToStore, getExpired, getKey, getLastModified, getProperty, getRenderer, getUri, isCacheable, isSessionAware, requireFacesContext, restoreData, send, sendHeaders, setCacheable, setContentLength, setExpired, setKey, setLastModified, setProperty, setRenderer, setSessionAware |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RESOURCES_ROOT
Constructor Detail |
---|
public JarResource()
public JarResource(java.lang.String path)
Method Detail |
---|
public java.io.InputStream getResourceAsStream(ResourceContext context)
getResourceAsStream
in interface InternetResource
getResourceAsStream
in class InternetResourceBase
public java.lang.String getPath()
public void setPath(java.lang.String path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |