Exemplo n.º 1
0
  public BabilooParser(String fileName, IDictionaryReader reader, IEngineObserver observer) {
    Arguments.assertNotNull(fileName, "fileName");
    Arguments.assertNotNull(reader, "reader");
    Arguments.assertNotNull(observer, "observer");

    this.fileName = fileName;
    this.reader = reader;
    this.observer = observer;
  }
Exemplo n.º 2
0
  private boolean setLastNavigatedTitle(String title) {
    Arguments.assertNotNull("title", title);

    boolean wasDuplicate = lastNavigated != null && lastNavigated.equals(title);

    lastNavigated = title;

    return wasDuplicate;
  }