Package org.gradle.api.problems
Schnittstelle OffsetInFileLocation
- Alle Superschnittstellen:
FileLocation,ProblemLocation
A basic location pointing to a specific part of a file using a global offset and length for coordinates.
The coordinates are expected to be zero indexed.
- Seit:
- 8.13
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintThe length of the content starting fromgetOffset().intThe global offset from the beginning of the file.Von Schnittstelle geerbte Methoden org.gradle.api.problems.FileLocation
getPath
-
Methodendetails
-
getOffset
int getOffset()The global offset from the beginning of the file.- Gibt zurück:
- the zero-indexed the offset
- Seit:
- 8.13
-
getLength
int getLength()The length of the content starting fromgetOffset().- Gibt zurück:
- the length
- Seit:
- 8.13
-