public interface InputDir extends InputPath
File for directories. You can access InputDir using FileSystem.inputDir(File).| Modifier and Type | Method and Description |
|---|---|
String |
absolutePath()
Normalized absolute path.
|
File |
file()
The underlying absolute
File |
Path |
path()
The underlying absolute
Path |
String |
relativePath()
Path relative to module base directory.
|
isFile, keyString relativePath()
FileSystem. File separator is the forward
slash ('/'), even on Microsoft Windows.
src/main/java/com if module base dir is
/path/to/module and if directory is
/path/to/module/src/main/java/com.
relativePath in interface InputPathInputFile.relativePath(),
relativePath()String absolutePath()
file().getCanonicalPath() to resolve symbolic link.absolutePath in interface InputPathInputFile.absolutePath(),
absolutePath()File file()
Filefile in interface InputPathInputFile.file(),
file()Copyright © 2009–2017 SonarSource. All rights reserved.