org.apache.naming.resources
protected class FileDirContext.FileResourceAttributes extends ResourceAttributes
Field Summary | |
---|---|
protected boolean | accessed |
protected String | canonicalPath |
protected File | file |
Constructor Summary | |
---|---|
FileResourceAttributes(File file) |
Method Summary | |
---|---|
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. |
Returns: String the file's canonical path
Returns: content length value
Returns: creation time value
Returns: Creation date value
Returns: lastModified time value
Returns: LastModified date value
Returns: Name value
Returns: String resource type