// iterate through the libraries
while (null != iLibs && iLibs.hasNext()) {
Object next = iLibs.next();
if (next instanceof ImageModule) {
ImageModule imageModule = (ImageModule)next;
try {
out.print("\t " + imageModule.getName());
} catch (CorruptDataException cde) {
out.print("\t " + Exceptions.getCorruptDataExceptionString());
}
out.print(", sections:\n");
Iterator itSection = imageModule.getSections().iterator();
// iterate through the library sections
while (itSection.hasNext()) {
next = itSection.next();
if (next instanceof ImageSection) {