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

    try {
      addDictionaryAux(reader);
    } catch (IOException e) {
      throw new GrokCompilationException(e);
    } finally {
      IOUtils.closeQuietly(reader);
    }
  }
public void addDictionary(Reader reader) {

    try {
      addDictionaryAux(reader);
    } catch (IOException e) {
      throw new GrokCompilationException(e);
    } finally {
      IOUtils.closeQuietly(reader);
    }
  }
Adds a dictionary entry via a Reader object

@param reader