@Deprecated public interface InputDir extends InputPath
File
for directories. You can access InputDir using FileSystem.inputDir(File)
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
absolutePath()
Deprecated.
Normalized absolute path.
|
java.io.File |
file()
Deprecated.
The underlying absolute
File |
java.nio.file.Path |
path()
Deprecated.
The underlying absolute
Path |
java.lang.String |
relativePath()
Deprecated.
Path relative to module base directory.
|
isFile, key
java.lang.String 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 InputPath
InputFile.relativePath()
,
relativePath()
java.lang.String absolutePath()
file().getCanonicalPath()
to resolve symbolic link.absolutePath
in interface InputPath
InputFile.absolutePath()
,
absolutePath()
java.io.File file()
File
file
in interface InputPath
InputFile.file()
,
file()
java.nio.file.Path path()
Path
path
in interface InputPath
InputFile.path()
,
path()