public interface TxtTestDataBuilder extends StringBasedBuilder<TxtTestDataBuilder>
This interface specifies a test data loader which loads text from a file.
The main method of this interface is the StringBasedBuilder.loadString(). It returns the loaded text.
The StreamBasedBuilder.openStream() method opens a stream which contains this text.
By default, the file is loaded with UTF-8 character set. We can change this with the StringBasedBuilder.withCharset(java.nio.charset.Charset)
method.
TestDataBuilder.fromTxt(String)loadString, withCharsetopenStreamCreated by Kornél Simon, 2022