// If input contains header, skip header.
if (!Utilities.skipHeader(recordReader, headerCount, (WritableComparable)key, (Writable)value)) {
return false;
}
if (footerCount > 0) {
footerBuffer = new FooterBuffer();
if (!footerBuffer.initializeBuffer(jobConf, recordReader, footerCount, (WritableComparable)key, (Writable)value)) {
return false;
}
}
}