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);
    }
  }
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
Loads dictionary from an input stream