public String[] showInfo(){
  String[] ret=new String[tags.size() + 1];
  ret[0]="Geotiff file= " + filename;
  for (int i=0; i < tags.size(); i++) {
    IFDEntry ifd=tags.get(i);
    ret[i + 1]=ifd.toString();
  }
  return ret;
}

public String [ ] showInfo ( ) { String [ ] ret = new String [ tags . size ( ) + 1 ] ; ret [ 0 ] = "Geotiff file= " + filename ; for ( int i = 0 ; i < tags . size ( ) ; i ++ ) { IFDEntry ifd = tags . get ( i ) ; ret [ i + 1 ] = ifd . toString ( ) ; } return ret ; }
write the geotiff tag information to a string .
