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; }
private boolean setLastNavigatedTitle(String title) { Arguments.assertNotNull("title", title); boolean wasDuplicate = lastNavigated != null && lastNavigated.equals(title); lastNavigated = title; return wasDuplicate; }