|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.filebuffers.FileBuffers
Facade for the file buffers plug-in. Provides access to the text file buffer manager and helper methods for location handling. This facade is available independent from the activation status of the file buffers plug-in.
Method Summary | |
static File |
getSystemFileAtLocation(IPath location)
Returns the file in the local file system for the given location. |
static ITextFileBufferManager |
getTextFileBufferManager()
Returns the text file buffer manager. |
static IFile |
getWorkspaceFileAtLocation(IPath location)
Returns the workspace file at the given location or null if
the location is not a valid location in the workspace. |
static IPath |
normalizeLocation(IPath location)
Returns a copy of the given location in a normalized form. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ITextFileBufferManager getTextFileBufferManager()
null
if
the file buffers plug-in may no be activated. This is, for example, the
case when the method is called on plug-in shutdown.
null
public static IFile getWorkspaceFileAtLocation(IPath location)
null
if
the location is not a valid location in the workspace.
location
- the location
null
public static IPath normalizeLocation(IPath location)
location
- the location to be normalized
public static File getSystemFileAtLocation(IPath location)
The location is either a full path of a workspace resource or an absolute path in the local file system.
location
- the location
File
in the local file system for the given location
|
Eclipse Platform Release 3.0 |
||||||||||
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, 2004. All rights reserved.