org.eclipse.core.internal.resources
Class ResourcesCompatibilityHelper

java.lang.Object
  extended by org.eclipse.core.internal.resources.ResourcesCompatibilityHelper

public class ResourcesCompatibilityHelper
extends java.lang.Object

This is mostly a convenience class for accessing the ResourcesCompatibility class from the compatibility fragment using reflection. See the ResourcesCompatibility class in the compatibility fragment.


Constructor Summary
ResourcesCompatibilityHelper()
           
 
Method Summary
static IHistoryStore createHistoryStore(org.eclipse.core.runtime.IPath location, int limit)
          Creates a history store.
static IHistoryStore createHistoryStore(org.eclipse.core.runtime.IPath location, int limit, boolean newImpl, boolean convert, boolean rename)
           
static IPropertyManager createPropertyManager()
          Creates a property manager.
static IPropertyManager createPropertyManager(boolean newImpl, boolean convert)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourcesCompatibilityHelper

public ResourcesCompatibilityHelper()
Method Detail

createHistoryStore

public static IHistoryStore createHistoryStore(org.eclipse.core.runtime.IPath location,
                                               int limit)
Creates a history store. Decides which implementation of history store should be chosen, and whether conversion from the existing state should be performed by looking at some system properties.


createHistoryStore

public static IHistoryStore createHistoryStore(org.eclipse.core.runtime.IPath location,
                                               int limit,
                                               boolean newImpl,
                                               boolean convert,
                                               boolean rename)
                                        throws java.lang.ClassNotFoundException,
                                               java.lang.NoSuchMethodException,
                                               java.lang.IllegalAccessException,
                                               java.lang.reflect.InvocationTargetException
Throws:
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

createPropertyManager

public static IPropertyManager createPropertyManager(boolean newImpl,
                                                     boolean convert)
                                              throws java.lang.ClassNotFoundException,
                                                     java.lang.NoSuchMethodException,
                                                     java.lang.IllegalAccessException,
                                                     java.lang.reflect.InvocationTargetException
Throws:
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

createPropertyManager

public static IPropertyManager createPropertyManager()
Creates a property manager. Decides which implementation of property manager should be chosen, and whether conversion from the existing state should be performed by looking at some system properties.