Package | Description |
---|---|
org.eclipse.core.filebuffers |
Provides the API for accessing file buffers.
|
org.eclipse.core.filesystem |
Provides an interface for interacting with a file system.
|
org.eclipse.core.filesystem.provider |
Provides an API to be extended by a file system implementation.
|
org.eclipse.team.core.history |
Application programming interfaces for describing the history associated with
files.
|
org.eclipse.ui.editors.text |
Provides a standard text editor and concrete document providers based
IFileBuffer and others directly handling IFile and
IStorage as editor input.
|
org.eclipse.ui.ide |
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
|
Modifier and Type | Method and Description |
---|---|
IFileStore |
IFileBuffer.getFileStore()
Returns the file store of this file buffer.
|
static IFileStore |
FileBuffers.getFileStoreAtLocation(IPath location)
Returns the file in the local file system for the given location.
|
Modifier and Type | Method and Description |
---|---|
void |
IFileBufferManager.connectFileStore(IFileStore fileStore,
IProgressMonitor monitor)
Connects the given file store to this manager.
|
void |
IFileBufferManager.disconnectFileStore(IFileStore fileStore,
IProgressMonitor monitor)
Disconnects the given file store from this manager.
|
IFileBuffer |
IFileBufferManager.getFileStoreFileBuffer(IFileStore fileStore)
Returns the file buffer managed for the given file store or
null if there is no such file buffer. |
ITextFileBuffer |
ITextFileBufferManager.getFileStoreTextFileBuffer(IFileStore fileStore)
Returns the text file buffer managed for the given file store
or
null if there is no such text file buffer. |
Modifier and Type | Method and Description |
---|---|
IFileStore[] |
IFileStore.childStores(int options,
IProgressMonitor monitor)
Returns an
IFileStore instance for each file and directory contained
within this store. |
IFileStore |
IFileSystem.fromLocalFile(File file)
Returns the file store in this file system corresponding to the
given local file.
|
IFileStore |
IFileStore.getChild(IPath path)
Deprecated.
use
getFileStore(IPath) instead |
IFileStore |
IFileStore.getChild(String name)
Returns a child store with the provided name whose parent is
this store.
|
IFileStore[] |
IFileTree.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. |
IFileStore |
IFileStore.getFileStore(IPath path)
Returns a handle to the member store identified by the given path.
|
IFileStore |
IFileStore.getParent()
Returns the parent of this store.
|
IFileStore |
IFileSystem.getStore(IPath path)
Returns a handle to a file store in this file system.
|
static IFileStore |
EFS.getStore(URI uri)
Returns the file store corresponding to the provided URI.
|
IFileStore |
IFileSystem.getStore(URI uri)
Returns a handle to a file store in this file system.
|
IFileStore |
IFileTree.getTreeRoot()
Returns the root of this tree
|
IFileStore |
IFileStore.mkdir(int options,
IProgressMonitor monitor)
Creates a directory, and optionally its parent directories.
|
Modifier and Type | Method and Description |
---|---|
void |
IFileStore.copy(IFileStore destination,
int options,
IProgressMonitor monitor)
Copies the file represented by this store to the provided destination store.
|
IFileTree |
IFileSystem.fetchFileTree(IFileStore root,
IProgressMonitor monitor)
Returns a file tree containing information about the complete sub-tree
rooted at the given store.
|
IFileInfo[] |
IFileTree.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[] |
IFileTree.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 |
IFileTree.getFileInfo(IFileStore store)
Returns information about this file at the time this file tree was created.
|
boolean |
IFileStore.isParentOf(IFileStore other)
Returns whether this store is a parent of the provided store.
|
void |
IFileStore.move(IFileStore destination,
int options,
IProgressMonitor monitor)
Moves the file represented by this store to the provided destination store.
|
Modifier and Type | Class and Description |
---|---|
class |
FileStore
The abstract superclass of all
IFileStore implementations. |
Modifier and Type | Field and Description |
---|---|
protected IFileStore |
FileTree.treeRoot
The root of the file tree
|
Modifier and Type | Method and Description |
---|---|
IFileStore[] |
FileStore.childStores(int options,
IProgressMonitor monitor)
The default implementation of
childStores(int, IProgressMonitor) . |
IFileStore |
FileSystem.fromLocalFile(File file)
Returns the file store in this file system corresponding to the
given local file.
|
IFileStore |
FileStore.getChild(IPath path)
Deprecated.
use
FileStore.getFileStore(IPath) instead |
abstract IFileStore |
FileStore.getChild(String name) |
abstract IFileStore[] |
FileTree.getChildStores(IFileStore store) |
IFileStore |
FileStore.getFileStore(IPath path)
The default implementation of
getFileStore(IPath)
Subclasses may override. |
abstract IFileStore |
FileStore.getParent() |
IFileStore |
FileSystem.getStore(IPath path)
This is the default implementation of
IFileSystem.getStore(IPath) . |
abstract IFileStore |
FileSystem.getStore(URI uri)
Subclasses must implement this method to satisfy the contract
of
IFileSystem.getStore(URI) . |
IFileStore |
FileTree.getTreeRoot() |
IFileStore |
FileStore.mkdir(int options,
IProgressMonitor monitor)
The default implementation of
mkdir(int, IProgressMonitor) . |
Modifier and Type | Method and Description |
---|---|
void |
FileStore.copy(IFileStore destination,
int options,
IProgressMonitor monitor)
The default implementation of
copy(IFileStore, int, IProgressMonitor) . |
protected void |
FileStore.copyDirectory(IFileInfo sourceInfo,
IFileStore destination,
int options,
IProgressMonitor monitor)
Recursively copies a directory as specified by
copy(IFileStore, int, IProgressMonitor) . |
protected void |
FileStore.copyFile(IFileInfo sourceInfo,
IFileStore destination,
int options,
IProgressMonitor monitor)
Copies a file as specified by
copy(IFileStore, int, IProgressMonitor) . |
IFileTree |
FileSystem.fetchFileTree(IFileStore root,
IProgressMonitor monitor)
Returns a file tree containing information about the complete sub-tree
rooted at the given store.
|
abstract IFileInfo[] |
FileTree.getChildInfos(IFileStore store) |
abstract IFileStore[] |
FileTree.getChildStores(IFileStore store) |
abstract IFileInfo |
FileTree.getFileInfo(IFileStore store) |
boolean |
FileStore.isParentOf(IFileStore other)
The default implementation of
isParentOf(IFileStore) . |
void |
FileStore.move(IFileStore destination,
int options,
IProgressMonitor monitor)
The default implementation of
move(IFileStore, int, IProgressMonitor) . |
Constructor and Description |
---|
FileTree(IFileStore treeRoot)
Creates a new file tree with tree root as the root
|
Modifier and Type | Method and Description |
---|---|
IFileHistory |
IFileHistoryProvider.getFileHistoryFor(IFileStore store,
int flags,
IProgressMonitor monitor)
Returns an
IFileHistory for the specified IFileStore . |
Modifier and Type | Method and Description |
---|---|
protected IFileStore |
TextFileDocumentProvider.getFileStore(TextFileDocumentProvider.FileInfo info)
Returns the file store denoted by the given info.
|
Modifier and Type | Method and Description |
---|---|
static IEditorPart |
IDE.openEditorOnFileStore(IWorkbenchPage page,
IFileStore fileStore)
Opens an editor on the given IFileStore object.
|
static IEditorPart |
IDE.openInternalEditorOnFileStore(IWorkbenchPage page,
IFileStore fileStore)
Opens an internal editor on the given IFileStore object.
|
Constructor and Description |
---|
FileStoreEditorInput(IFileStore fileStore) |
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.