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