public interface IFileTree
IFileSystem.fetchFileTree(IFileStore, org.eclipse.core.runtime.IProgressMonitor)
FileTree
Modifier and Type | Method and Description |
---|---|
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
|
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 treeIFileStore.childInfos(int, org.eclipse.core.runtime.IProgressMonitor)
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 treeIFileStore.childStores(int, org.eclipse.core.runtime.IProgressMonitor)
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 forIFileStore.fetchInfo(int, org.eclipse.core.runtime.IProgressMonitor)
IFileStore getTreeRoot()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.