|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used to query a tree of file stores. A file tree accurately represents the state of a portion of a file system at the time it is created, but it is never updated. Clients using a file tree must tolerate the fact that the actual file system contents may have changed since the tree was generated.
This interface is not intended to be implemented by clients. File tree
implementations should use the concrete class FileTree
IFileSystem.fetchFileTree(IFileStore, org.eclipse.core.runtime.IProgressMonitor)
Method Summary | |
---|---|
IFileInfo[] |
getChildInfos(IFileStore store)
Returns an IFileInfo instance for each file and directory contained
within the given store at the time this file tree was created.
|
IFileStore[] |
getChildStores(IFileStore store)
Returns an IFileStore instance for each file and directory contained
within the given store at the time this file tree was created.
|
IFileInfo |
getFileInfo(IFileStore store)
Returns information about this file at the time this file tree was created. |
IFileStore |
getTreeRoot()
Returns the root of this tree |
Method Detail |
public IFileInfo[] getChildInfos(IFileStore store)
IFileInfo
instance for each file and directory contained
within the given store at the time this file tree was created.
An empty array is returned if the given store has no children, or is not in this file tree.
store
- a file store in this tree
IFileStore.childInfos(int, org.eclipse.core.runtime.IProgressMonitor)
public IFileStore[] getChildStores(IFileStore store)
IFileStore
instance for each file and directory contained
within the given store at the time this file tree was created.
An empty array is returned if the given store has no children, or is not in this file tree.
store
- a file store in this tree
IFileStore.childStores(int, org.eclipse.core.runtime.IProgressMonitor)
public IFileInfo getFileInfo(IFileStore store)
This method succeeds regardless of whether a corresponding
file exists in the file tree. In the case of a non-existent
file, the returned info will include the file's name and will return false
when IFileInfo.exists()
is called, but all other information will assume default
values.
store
- the store to return the file info for
IFileStore.fetchInfo(int, org.eclipse.core.runtime.IProgressMonitor)
public IFileStore getTreeRoot()
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.