sb.append("\" ");
currentEntryHeader.dumpLogNoTag(sb, verbose);
sb.append("\">");
/* Read the entry and dump it into a string buffer. */
LogEntry entry = lastEntryType.getSharedLogEntry();
entry.readEntry(currentEntryHeader, entryBuffer, true); // readFullItem
boolean dumpIt = true;
if (targetTxnIds.size() > 0) {
if (lastEntryType.isTransactional()) {
if (!targetTxnIds.contains
(Long.valueOf(entry.getTransactionId()))) {
/* Not in the list of txn ids. */
dumpIt = false;
}
} else {
/* If -tx spec'd and not a transactional entry, don't dump. */
dumpIt = false;
}
}
if (dumpIt) {
entry.dumpEntry(sb, verbose);
sb.append("</entry>");
System.out.println(sb.toString());
}
return true;