// next records still cached? it's still available
if (nextRecord!=null) {
return true;
}
// create listener
ListenerInternal listener = new ListenerInternal() {
@Override
public boolean onRecord(DcatRecord record) {
LOGGER.log(Level.FINEST, record!=null? record.toString(): "<empty record>");
nextRecord = record;
// always stop parser