Class LineSource
java.lang.Object
org.antublue.test.engine.extras.source.LineSource
Class to create a Stream of Arguments where each Argument value is a line of a Stream
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stream<StringArgument> Method to get a Stream of Arguments from a Filestatic Stream<StringArgument> of(InputStream inputStream, Charset charset) Method to get a Stream of Arguments from an InputStreamstatic Stream<StringArgument> Method to get a Stream of Arguments from a Reader
-
Method Details
-
of
Method to get a Stream of Arguments from a File- Parameters:
file- filecharset- charset- Returns:
- the return value
- Throws:
IOException- IOException
-
of
Method to get a Stream of Arguments from a Reader- Parameters:
reader- reader- Returns:
- the return value
- Throws:
IOException- IOException
-
of
public static Stream<StringArgument> of(InputStream inputStream, Charset charset) throws IOException Method to get a Stream of Arguments from an InputStream- Parameters:
inputStream- inputStreamcharset- charset- Returns:
- the return value
- Throws:
IOException- IOException
-