类 TextResourceOrigin.Location
java.lang.Object
org.springframework.boot.origin.TextResourceOrigin.Location
- 封闭类:
TextResourceOrigin
A location (line and column number) within the resource.
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
Location
public Location(int line, int column) Create a newTextResourceOrigin.Location
instance.- 参数:
line
- the line number (zero indexed)column
- the column number (zero indexed)
-
-
方法详细资料
-
getLine
public int getLine()Return the line of the text resource where the property originated.- 返回:
- the line number (zero indexed)
-
getColumn
public int getColumn()Return the column of the text resource where the property originated.- 返回:
- the column number (zero indexed)
-
equals
-
hashCode
public int hashCode() -
toString
-