}
}
fcs.close();
if (faceIDColumnName == null) {
throw new FormatException("no faceIDColumn");
// won't be able to read the tiling info. abort
}
// Okay, we've got info on what column we use from tileref.aft
// to index
// into the fbr.
DcwRecordFile aft = new DcwRecordFile(pathname + File.separator
+ "tileref.aft");
int faceIDColumn = aft.whatColumn(faceIDColumnName.toLowerCase());
int tileNameColumn = aft.whatColumn("tile_name");
if ((faceIDColumn == -1) || (tileNameColumn == -1)) {
aft.close();
throw new FormatException("no faceIDColumn");
}
Vector aftv = new Vector(aft.getColumnCount());
// set the array size to record count + 1, to be able to