Package org.instancio.feed
Annotation Type Feed.Source
-
Optional Element Summary
Optional Elements
-
Element Details
-
string
Specifies inline data for a feed as a string.- Returns:
- the data for a feed as a string
- Since:
- 5.0.0
- Default:
""
-
resource
Specifies the name of a classpath resource containing the data for a feed.A given value should not have a leading slash. For example,
"sample.csv"will load the specified file from the root of the classpath.- Returns:
- the name of a classpath resource
- Since:
- 5.0.0
- Default:
""
-
file
Specifies the path to a file on the filesystem containing the data for a feed.- Returns:
- the path to a file
- Since:
- 5.0.0
- Default:
""
-