protected static class WebDirContext.JarResourceAttributes extends ResourceAttributes
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
accessed |
protected JarEntry |
jarEntry |
ALTERNATE_CONTENT_LENGTH, ALTERNATE_CREATION_DATE, ALTERNATE_ETAG, ALTERNATE_LAST_MODIFIED, ALTERNATE_TYPE, attributes, collection, COLLECTION_TYPE, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, contentLength, creation, CREATION_DATE, creationDate, ETAG, FORMAT, FORMATS, gmtZone, LAST_MODIFIED, lastModified, lastModifiedDate, lastModifiedHttp, mimeType, name, NAME, SOURCE, strongETag, TYPE, weakETag| Constructor and Description |
|---|
JarResourceAttributes(JarEntry jarEntry) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCanonicalPath()
Get canonical path.
|
long |
getContentLength()
Get content length.
|
long |
getCreation()
Get creation time.
|
Date |
getCreationDate()
Get creation date.
|
long |
getLastModified()
Get last modified time.
|
Date |
getLastModifiedDate()
Get lastModified date.
|
String |
getName()
Get name.
|
String |
getResourceType()
Get resource type.
|
boolean |
isCollection()
Is collection.
|
clone, get, getAll, getCreationOrLastModifiedDate, getETag, getETag, getIDs, getLastModifiedHttp, getMimeType, isCaseIgnored, isMimeTypeInitialized, put, put, remove, setCollection, setContentLength, setCreation, setCreationDate, setETag, setLastModified, setLastModified, setLastModifiedDate, setLastModifiedHttp, setMimeType, setName, setResourceType, sizeprotected transient JarEntry jarEntry
protected boolean accessed
public JarResourceAttributes(JarEntry jarEntry)
public boolean isCollection()
isCollection in class ResourceAttributespublic long getContentLength()
getContentLength in class ResourceAttributespublic long getCreation()
getCreation in class ResourceAttributespublic Date getCreationDate()
getCreationDate in class ResourceAttributespublic long getLastModified()
getLastModified in class ResourceAttributespublic Date getLastModifiedDate()
getLastModifiedDate in class ResourceAttributespublic String getName()
getName in class ResourceAttributespublic String getResourceType()
getResourceType in class ResourceAttributespublic String getCanonicalPath()
getCanonicalPath in class ResourceAttributesCopyright © 2017. All rights reserved.