public class JarResource extends AbstractArchiveResource
AbstractArchiveResource.JarInputStreamWrapper
sm
Constructor and Description |
---|
JarResource(WebResourceRoot root,
String webAppPath,
String base,
String baseUrl,
JarEntry jarEntry,
String internalPath) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream()
Obtain an InputStream based on the contents of this resource.
|
protected Log |
getLog() |
canRead, delete, exists, getBase, getBaseUrl, getCanonicalPath, getContentLength, getCreation, getLastModified, getName, getResource, getURL, isDirectory, isFile, isVirtual
getContent, getETag, getLastModifiedHttp, getMimeType, getWebappPath, getWebResourceRoot, setMimeType
public InputStream getInputStream()
WebResource
null
if the resource does not exist or does not
represent a fileprotected Log getLog()
getLog
in class AbstractResource
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.