@Test public void testDocumentText() throws Exception { BaleenCollectionReader bcr = getCollectionReader( Re3dReader.PARAM_FOLDER, tmpDir.toAbsolutePath().toString(), Re3dReader.PARAM_ENTITIES, true, Re3dReader.PARAM_RANDOM_DATES, true); assertTrue(bcr.doHasNext()); bcr.getNext(jCas.getCas()); assertTrue(jCas.getDocumentText().contains("This is the text of the article.")); bcr.close(); }
@Override public boolean doHasNext() throws IOException, CollectionException { return !documents.isEmpty(); }
Re3dReader extends BaleenCollectionReader { @Override public boolean doHasNext() throws IOException, CollectionException { return !documents.isEmpty(); } }
Re3dReader extends BaleenCollectionReader { @Override public boolean doHasNext() throws IOException, CollectionException { return !documents.isEmpty(); }  }
Re3dReader extends BaleenCollectionReader { @Override public boolean doHasNext() throws IOException, CollectionException { return !documents.isEmpty(); }  @Override boolean doHasNext(); }
Re3dReader extends BaleenCollectionReader { @Override public boolean doHasNext() throws IOException, CollectionException { return !documents.isEmpty(); }  @Override boolean doHasNext(); static final String PARAM_FOLDER; static final String PARAM_ENTITIES; static final String PARAM_RELATIONSHIPS; static final String PARAM_RANDOM_DATES; }