org.eclipse.core.internal.resources
Class SafeFileTable
java.lang.Object
org.eclipse.core.internal.resources.SafeFileTable
public class SafeFileTable
- extends java.lang.Object
Represents a table of keys and paths used by a plugin to maintain its
configuration files' names.
Method Summary |
org.eclipse.core.runtime.IPath[] |
getFiles()
|
org.eclipse.core.runtime.IPath |
lookup(org.eclipse.core.runtime.IPath file)
|
void |
map(org.eclipse.core.runtime.IPath file,
org.eclipse.core.runtime.IPath aLocation)
|
void |
restore()
|
void |
save()
|
void |
setLocation(org.eclipse.core.runtime.IPath location)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SafeFileTable
public SafeFileTable(java.lang.String pluginId)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
getFiles
public org.eclipse.core.runtime.IPath[] getFiles()
lookup
public org.eclipse.core.runtime.IPath lookup(org.eclipse.core.runtime.IPath file)
map
public void map(org.eclipse.core.runtime.IPath file,
org.eclipse.core.runtime.IPath aLocation)
restore
public void restore()
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
save
public void save()
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
setLocation
public void setLocation(org.eclipse.core.runtime.IPath location)