Package ucar.nc2.geotiff
Class GeoTiff
- java.lang.Object
-
- ucar.nc2.geotiff.GeoTiff
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class GeoTiff extends Object implements Closeable
Low level read/write geotiff files.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Close the Geotiff file.voidcompare(GeoTiff other, Formatter f)Deprecated.do not usevoidinitTags()voidread()Read the geotiff file, using the filename passed in the constructor.StringshowInfo()Write the geotiff Tag information to a String.voidshowInfo(PrintWriter out)Write the geotiff Tag information to out.
-
-
-
Constructor Detail
-
GeoTiff
public GeoTiff(String filename)
Constructor. Does not open or create the file.- Parameters:
filename- pathname of file
-
-
Method Detail
-
close
public void close() throws IOExceptionClose the Geotiff file.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException- on io error
-
initTags
public void initTags()
-
read
public void read() throws IOExceptionRead the geotiff file, using the filename passed in the constructor.- Throws:
IOException- on read error
-
showInfo
public void showInfo(PrintWriter out)
Write the geotiff Tag information to out.
-
showInfo
public String showInfo()
Write the geotiff Tag information to a String.
-
compare
@Deprecated public void compare(GeoTiff other, Formatter f)
Deprecated.do not use
-
-