Package org.gradle.api.problems
Interface OffsetInFileLocation
- All Superinterfaces:
- 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.
- Since:
- 8.13
- 
Method SummaryModifier and TypeMethodDescriptionintThe length of the content starting fromgetOffset().intThe global offset from the beginning of the file.Methods inherited from interface org.gradle.api.problems.FileLocationgetPath
- 
Method Details- 
getOffsetint getOffset()The global offset from the beginning of the file.- Returns:
- the zero-indexed the offset
- Since:
- 8.13
 
- 
getLengthint getLength()The length of the content starting fromgetOffset().- Returns:
- the length
- Since:
- 8.13
 
 
-