protected class AVMFileDirContext.AVMFileResourceAttributes
extends org.apache.naming.resources.ResourceAttributes
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
accessed |
protected String |
canonicalPath |
ALTERNATE_CONTENT_LENGTH, ALTERNATE_CREATION_DATE, 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 |
|---|
AVMFileDirContext.AVMFileResourceAttributes(AVMNodeDescriptor avm_node,
String name) |
| Modifier and Type | Method and Description |
|---|---|
NamingEnumeration<? extends Attribute> |
getAll()
Returns a NamingEnumeration of type BasicAttribute,
(each BasicAttribute the tuple of an attribute listed
in getIDs(), and its corresponding value).
|
String |
getCanonicalPath()
Get canonical path.
|
long |
getContentLength()
Get content length.
|
long |
getCreation()
Get creation time.
|
Date |
getCreationDate()
Get creation date.
|
NamingEnumeration<String> |
getIDs()
Fetches all the attribute IDs.
|
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, getETag, getETag, getLastModifiedHttp, getMimeType, isCaseIgnored, put, put, remove, setCollection, setContentLength, setCreation, setCreationDate, setETag, setLastModified, setLastModified, setLastModifiedDate, setLastModifiedHttp, setMimeType, setName, setResourceType, sizeprotected boolean accessed
protected String canonicalPath
public AVMFileDirContext.AVMFileResourceAttributes(AVMNodeDescriptor avm_node, String name)
public NamingEnumeration<String> getIDs()
"creationdate"
"getlastmodified"
"displayname"
"resourcetype"
"getcontentlength"
getIDs in interface AttributesgetIDs in class org.apache.naming.resources.ResourceAttributespublic NamingEnumeration<? extends Attribute> getAll()
getAll in interface AttributesgetAll in class org.apache.naming.resources.ResourceAttributespublic boolean isCollection()
isCollection in class org.apache.naming.resources.ResourceAttributespublic long getContentLength()
getContentLength in class org.apache.naming.resources.ResourceAttributespublic long getCreation()
getCreation in class org.apache.naming.resources.ResourceAttributespublic Date getCreationDate()
getCreationDate in class org.apache.naming.resources.ResourceAttributespublic long getLastModified()
getLastModified in class org.apache.naming.resources.ResourceAttributespublic Date getLastModifiedDate()
getLastModifiedDate in class org.apache.naming.resources.ResourceAttributespublic String getName()
getName in class org.apache.naming.resources.ResourceAttributespublic String getResourceType()
getResourceType in class org.apache.naming.resources.ResourceAttributespublic String getCanonicalPath()
getCanonicalPath in class org.apache.naming.resources.ResourceAttributesCopyright © 2005–2014 Alfresco Software. All rights reserved.