if (poBand.GetOverviewCount() > 0) {
System.out.println("Band has " + poBand.GetOverviewCount()
+ " overviews.");
}
if (poBand.GetRasterColorTable() != null) {
System.out.println("Band has a color table with "
+ poBand.GetRasterColorTable().GetCount() + " entries.");
for(int i = 0; i < poBand.GetRasterColorTable().GetCount(); i++) {
System.out.println(" " + i + ": " +
poBand.GetRasterColorTable().GetColorEntry(i));