Package io.cucumber.gherkin
Class GherkinParser
- java.lang.Object
-
- io.cucumber.gherkin.GherkinParser
-
public final class GherkinParser extends Object
Main entry point for the Gherkin library
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGherkinParser.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GherkinParser.Builderbuilder()Stream<io.cucumber.messages.types.Envelope>parse(io.cucumber.messages.types.Envelope envelope)Stream<io.cucumber.messages.types.Envelope>parse(String uri, byte[] source)Stream<io.cucumber.messages.types.Envelope>parse(String uri, InputStream source)Stream<io.cucumber.messages.types.Envelope>parse(Path source)
-
-
-
Method Detail
-
builder
public static GherkinParser.Builder builder()
-
parse
public Stream<io.cucumber.messages.types.Envelope> parse(Path source) throws IOException
- Throws:
IOException
-
parse
public Stream<io.cucumber.messages.types.Envelope> parse(String uri, InputStream source) throws IOException
- Throws:
IOException
-
parse
public Stream<io.cucumber.messages.types.Envelope> parse(io.cucumber.messages.types.Envelope envelope)
-
-