类 TextResourceOrigin
java.lang.Object
org.springframework.boot.origin.TextResourceOrigin
- 所有已实现的接口:
Origin
Origin
for an item loaded from a text resource. Provides access to the original
Resource
that loaded the text and a TextResourceOrigin.Location
within it. If the provided
resource provides an Origin
(e.g. it is an OriginTrackedResource
), then
it will be used as the origin parent
.- 从以下版本开始:
- 2.0.0
- 作者:
- Madhura Bhave, Phillip Webb
- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static final class
A location (line and column number) within the resource. -
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
TextResourceOrigin
-
-
方法详细资料
-
getResource
Return the resource where the property originated.- 返回:
- the text resource or
null
-
getLocation
Return the location of the property within the source (if known).- 返回:
- the location or
null
-
getParent
从接口复制的说明:Origin
Return the parent origin for this instance if there is one. The parent origin provides the origin of the item that created this one. -
equals
-
hashCode
public int hashCode() -
toString
-