Class TextResourceOrigin.Location
java.lang.Object
org.springframework.boot.origin.TextResourceOrigin.Location
- Enclosing class:
- TextResourceOrigin
A location (line and column number) within the resource.
- Since:
- 2.0.0
- 
Constructor SummaryConstructorsConstructorDescriptionLocation(int line, int column) Create a newTextResourceOrigin.Locationinstance.
- 
Method Summary
- 
Constructor Details- 
Locationpublic Location(int line, int column) Create a newTextResourceOrigin.Locationinstance.- Parameters:
- line- the line number (zero indexed)
- column- the column number (zero indexed)
 
 
- 
- 
Method Details- 
getLinepublic int getLine()Return the line of the text resource where the property originated.- Returns:
- the line number (zero indexed)
 
- 
getColumnpublic int getColumn()Return the column of the text resource where the property originated.- Returns:
- the column number (zero indexed)
 
- 
equals
- 
hashCode
- 
toString
 
-