public class ResourcePaths extends HashStructureAdapter
ResourcePathsMigrator| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DATA_KEY |
static java.lang.String |
PROJECT_RESOURCES_PATH |
static java.lang.String |
RESOURCES_CONTENT_SET_KEY
The key used to identify the Resources HashStructure.
|
static java.lang.String |
RESOURCES_CONTENT_SET_LOCAL_KEY |
_hash| Modifier and Type | Method and Description |
|---|---|
static ResourcePaths |
getInstance(PropertyStorage storage)
Retrieves an instance of
ResourcePaths for the specified
PropertyStorage. |
URLPath |
getProjectResourcesPath()
Returns an URLPath containing all resource paths.
|
ContentSet |
getResourcesContentSet() |
boolean |
setProjectResourcesPath(URLPath newPath)
Sets the resource paths, adding an all-files filter for
new paths.
|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEqualspublic static final java.lang.String DATA_KEY
public static final java.lang.String RESOURCES_CONTENT_SET_LOCAL_KEY
public static final java.lang.String RESOURCES_CONTENT_SET_KEY
public static final java.lang.String PROJECT_RESOURCES_PATH
public static ResourcePaths getInstance(PropertyStorage storage)
ResourcePaths for the specified
PropertyStorage.storage - The PropertyStorage object holding the propertiesResourcePaths instance for manipulating
the settingspublic ContentSet getResourcesContentSet()
public URLPath getProjectResourcesPath()
Important: Modifying this URLPath object will not propagate to the underlying HashStructure object. To update the resource paths, you must call setProjectResourcesPath(URLPath).
setProjectResourcesPath(URLPath)public boolean setProjectResourcesPath(URLPath newPath)
Note that the preferred way to add content to the project
is with ProjectContent.add(oracle.ide.model.Node, java.lang.String).
newPath - the new url path