|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputDir
Layer over File
for directories.
Method Summary | |
---|---|
String |
absolutePath()
Normalized absolute path. |
File |
file()
The underlying absolute File |
String |
relativePath()
Path relative to module base directory. |
Method Detail |
---|
String relativePath()
FileSystem
. File separator is the forward
slash ('/'), even on Microsoft Windows.
Returns src/main/java/com
if module base dir is
/path/to/module
and if directory is
/path/to/module/src/main/java/com
.
Relative path is not null and is normalized ('foo/../foo' is replaced by 'foo').
relativePath
in interface InputPath
InputFile.relativePath()
,
relativePath()
String absolutePath()
file().getCanonicalPath()
to resolve symbolic link.
absolutePath
in interface InputPath
InputFile.absolutePath()
,
absolutePath()
File file()
File
file
in interface InputPath
InputFile.file()
,
file()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |