org.eclipse.core.internal.resources
Class SafeFileTable

java.lang.Object
  extended by 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.


Constructor Summary
SafeFileTable(java.lang.String pluginId)
           
 
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
 

Constructor Detail

SafeFileTable

public SafeFileTable(java.lang.String pluginId)
              throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException
Method Detail

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)