public void init(URL fileURL) throws IOException, IllegalArgumentException {
this.fileURL = fileURL;
SeekableStream ss = SeekableStream.wrapInputStream(fileURL.openStream(),
true);
GeoTIFFDescriptor.register();
GeoTIFFFactory gtFactory = new GeoTIFFFactory();
gtfDirectory = (GeoTIFFDirectory) gtFactory.createDirectory(ss, 0);
geoKeys = gtfDirectory.getGeoKeys();
ss.close();
}