com.aventstack.extentreports.gherkin

## Class GherkinDialectProvider

- java.lang.Object
- - com.aventstack.extentreports.gherkin.GherkinDialectProvider

-     public class GherkinDialectProvider
      extends Object

  Modified version of GherkinDialectProvider.java from cucumber/gherkin. Source url: https://github.com/cucumber/cucumber/blob/master/gherkin/java/src/main/java/gherkin/GherkinDialectProvider.java.

  Gherkin source is licensed under the MIT License

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GherkinDialectProvider()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `getDefaultLanguage()`
    `static GherkinDialect` | `getDialect()`
    `static String` | `getLanguage()`
    `static void` | `setLanguage(String lang)` Sets/changes the default language

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GherkinDialectProvider

          public GherkinDialectProvider()

  - ### Method Detail

    - #### getDialect

          public static GherkinDialect getDialect()

    - #### getDefaultLanguage

          public static String getDefaultLanguage()

    - #### getLanguage

          public static String getLanguage()

    - #### setLanguage

          public static void setLanguage(String lang)
                                  throws UnsupportedEncodingException

      Sets/changes the default language
      Parameters:
        `lang` - A valid dialect from gherkin-languages.json
      Throws:
        `UnsupportedEncodingException` - Thrown if the language is one of the supported language from gherkin-languages.json

Copyright © 2018. All rights reserved.