if (count > 0) {
this.footers = new Header[this.trailerBufs.size()];
for (int i = 0; i < this.trailerBufs.size(); i++) {
CharArrayBuffer buffer = (CharArrayBuffer) this.trailerBufs.get(i);
try {
this.footers[i] = new BufferedHeader(buffer);
} catch (IllegalArgumentException ex) {
throw new IOException(ex.getMessage());
}
}
}