@Test public void testDocumentText() throws Exception { BaleenCollectionReader bcr = getCollectionReader(MimeReader.PARAM_FOLDER, tmpDir.toAbsolutePath().toString()); bcr.initialize(); assertTrue(bcr.doHasNext()); bcr.getNext(jCas.getCas()); assertTrue(jCas.getDocumentText().startsWith("I'm going to eat you!")); bcr.close(); }
@Override public boolean doHasNext() throws IOException, CollectionException { return !files.isEmpty(); }
MimeReader extends BaleenCollectionReader { @Override public boolean doHasNext() throws IOException, CollectionException { return !files.isEmpty(); } }
MimeReader extends BaleenCollectionReader { @Override public boolean doHasNext() throws IOException, CollectionException { return !files.isEmpty(); }  }
MimeReader extends BaleenCollectionReader { @Override public boolean doHasNext() throws IOException, CollectionException { return !files.isEmpty(); }  @Override boolean doHasNext(); }
MimeReader extends BaleenCollectionReader { @Override public boolean doHasNext() throws IOException, CollectionException { return !files.isEmpty(); }  @Override boolean doHasNext(); static final String PARAM_FOLDER; }