@Override public ExportedDocument read() throws IOException { if (doc != null) { if (readDone && !enableRepeatedReads) { return null; } else { readDone = true; return new TypedExportedDocumentImpl(doc); } } doc = null; return null; }
@Override public ExportedDocument read() throws IOException { if (doc != null) { if (readDone && !enableRepeatedReads) { return null; } else { readDone = true; return new TypedExportedDocumentImpl(doc); } } doc = null; return null; }