public class LocationUpdater extends PathUpdate
Constructor and Description |
---|
LocationUpdater(Project project,
URI newLocation)
Default constructor.
If either project, the save configuration of project or newLocation is null all calls on this object will have no effect. |
Modifier and Type | Method and Description |
---|---|
void |
updateIOConfiguration(IOConfiguration configuration,
boolean keepRelative)
Updates the source location of the given configuration.
|
void |
updateProject(boolean keepRelative)
Update locations in the given project.
|
changePath, findLocation, findLocation, getNewLocation, getOldLocation, updatePathFallback
public LocationUpdater(Project project, URI newLocation)
project
- the project to updatenewLocation
- the new location of the project filepublic void updateProject(boolean keepRelative)
keepRelative
- whether to keep working relative URIs as is or make
them absolutepublic void updateIOConfiguration(IOConfiguration configuration, boolean keepRelative)
configuration
- the configuration to updatekeepRelative
- whether to keep working relative URI as is or make it
absoluteBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a