common/src/main/java/com/streamsets/pipeline/lib/parser/shaded/org/aicer/grok/dictionary/GrokDictionary.java
public void addDictionary(final InputStream inputStream) {

    try {
      addDictionaryAux(new InputStreamReader(inputStream, "UTF-8"));
    } catch (IOException e) {
      throw new GrokCompilationException(e);
    }
  }
public void addDictionary(final InputStream inputStream) {

    try {
      addDictionaryAux(new InputStreamReader(inputStream, "UTF-8"));
    } catch (IOException e) {
      throw new GrokCompilationException(e);
    }
  }
Loads dictionary from an input stream

This can be used to load dictionaries available in the class path <p>

@param inputStream