Class TextResourceOrigin

java.lang.Object
org.springframework.boot.origin.TextResourceOrigin
All Implemented Interfaces:
Origin

public class TextResourceOrigin extends Object implements 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.
Since:
2.0.0
Author:
Madhura Bhave, Phillip Webb
See Also: