public class GeoTiff
extends java.lang.Object
implements java.io.Closeable
Constructor and Description |
---|
GeoTiff(java.lang.String filename)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the Geotiff file.
|
void |
initTags() |
void |
read()
Read the geotiff file, using the filename passed in the constructor.
|
java.lang.String |
showInfo()
Write the geotiff Tag information to a String.
|
void |
showInfo(java.io.PrintWriter out)
Write the geotiff Tag information to out.
|
public GeoTiff(java.lang.String filename)
filename
- pathname of filepublic void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
- on io errorpublic void initTags() throws java.io.IOException
java.io.IOException
public void read() throws java.io.IOException
java.io.IOException
- on read errorpublic void showInfo(java.io.PrintWriter out)
public java.lang.String showInfo()