@Beta
public interface FileLocations
| Modifier and Type | Method and Description |
|---|---|
Path |
getProjectFolder(Path path)
Returns the project root for the given resource handle.
|
java.util.Set<Path> |
getProjectSourceFolders(Path path) |
Path |
getSourceFolder(Path path)
Returns the source folder the given handle is contained in or
null if the given Path is not
located in a source folder. |
Path |
getTargetFolder(Path sourceFolder)
Returns the target folder for the given source folder or
null if the given
folder is not a source folder or doesn't have a configured target folder. |
Path getSourceFolder(Path path)
null if the given Path is not
located in a source folder.Path getTargetFolder(Path sourceFolder)
null if the given
folder is not a source folder or doesn't have a configured target folder.sourceFolder - the source folder to find the configured target folder for.Path getProjectFolder(Path path)
path - an absolute path