Package org.sonar.api.batch.fs
Interface InputPath
-
- All Superinterfaces:
InputComponent
- All Known Subinterfaces:
IndexedFile
,InputDir
,InputFile
- All Known Implementing Classes:
DefaultIndexedFile
,DefaultInputDir
,DefaultInputFile
public interface InputPath extends InputComponent
Layer overFile
for files or directories.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
absolutePath()
Deprecated.since 6.5 useuri()
java.io.File
file()
Deprecated.since 6.5 useuri()
java.nio.file.Path
path()
Deprecated.since 6.5 useuri()
java.lang.String
relativePath()
Deprecated.since 6.5 useuri()
java.net.URI
uri()
Identifier of the component.-
Methods inherited from interface org.sonar.api.batch.fs.InputComponent
isFile, key
-
-
-
-
Method Detail
-
relativePath
@Deprecated java.lang.String relativePath()
Deprecated.since 6.5 useuri()
- See Also:
InputFile.relativePath()
,InputDir.relativePath()
-
absolutePath
@Deprecated java.lang.String absolutePath()
Deprecated.since 6.5 useuri()
- See Also:
InputFile.absolutePath()
,InputDir.absolutePath()
-
file
@Deprecated java.io.File file()
Deprecated.since 6.5 useuri()
- See Also:
InputFile.file()
,InputDir.file()
-
path
@Deprecated java.nio.file.Path path()
Deprecated.since 6.5 useuri()
- Since:
- 5.1
- See Also:
InputFile.path()
,InputDir.path()
-
uri
java.net.URI uri()
Identifier of the component. The only guarantee is that it is unique in the project. You should not assume it is a file:// URI.- Since:
- 6.5
-
-