org.apache.naming.resources
クラス FileDirContext.FileResourceAttributes
java.lang.Object
|
+--org.apache.naming.resources.ResourceAttributes
|
+--org.apache.naming.resources.FileDirContext.FileResourceAttributes
- すべての実装インタフェース:
- javax.naming.directory.Attributes, java.lang.Cloneable, java.io.Serializable
- 含まれているクラス:
- FileDirContext
- protected class FileDirContext.FileResourceAttributes
- extends ResourceAttributes
This specialized resource attribute implementation does some lazy
reading (to speed up simple checks, like checking the last modified
date).
- 関連項目:
- 直列化された形式
フィールドの概要 |
protected boolean |
accessed
|
protected java.io.File |
file
|
クラス org.apache.naming.resources.ResourceAttributes から継承したフィールド |
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, LAST_MODIFIED, lastModified, lastModifiedDate, name, NAME, SOURCE, TYPE |
クラス org.apache.naming.resources.ResourceAttributes から継承したメソッド |
clone, get, getAll, getIDs, isCaseIgnored, put, put, remove, setCollection, setContentLength, setCreation, setCreationDate, setLastModified, setLastModified, setLastModifiedDate, setName, setResourceType, size |
クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
protected java.io.File file
accessed
protected boolean accessed
FileDirContext.FileResourceAttributes
public FileDirContext.FileResourceAttributes(java.io.File file)
isCollection
public boolean isCollection()
- Is collection.
- オーバーライド:
- クラス
ResourceAttributes
内の isCollection
getContentLength
public long getContentLength()
- Get content length.
- オーバーライド:
- クラス
ResourceAttributes
内の getContentLength
- 戻り値:
- content length value
getCreation
public long getCreation()
- Get creation time.
- オーバーライド:
- クラス
ResourceAttributes
内の getCreation
- 戻り値:
- creation time value
getCreationDate
public java.util.Date getCreationDate()
- Get creation date.
- オーバーライド:
- クラス
ResourceAttributes
内の getCreationDate
- 戻り値:
- Creation date value
getLastModified
public long getLastModified()
- Get last modified time.
- オーバーライド:
- クラス
ResourceAttributes
内の getLastModified
- 戻り値:
- lastModified time value
getLastModifiedDate
public java.util.Date getLastModifiedDate()
- Get lastModified date.
- オーバーライド:
- クラス
ResourceAttributes
内の getLastModifiedDate
- 戻り値:
- LastModified date value
getName
public java.lang.String getName()
- Get name.
- オーバーライド:
- クラス
ResourceAttributes
内の getName
- 戻り値:
- Name value
getResourceType
public java.lang.String getResourceType()
- Get resource type.
- オーバーライド:
- クラス
ResourceAttributes
内の getResourceType
- 戻り値:
- String resource type
Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.