public class DefaultHDRFile extends AbstractFormatFile implements HDRFile
FILE_EXTENSION, LAYOUT_BIL, LAYOUT_BIP, LAYOUT_BSQ, NONE| Constructor and Description |
|---|
DefaultHDRFile() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBandgapbytes() |
int |
getBandrowbytes() |
int |
getBandSize() |
java.nio.ByteOrder |
getByteorder() |
int |
getCellsize() |
java.lang.String |
getComments() |
int |
getDataType() |
Envelope |
getEnvelope() |
java.io.File |
getFile() |
java.io.File |
getFile(java.io.File file) |
java.lang.String |
getLayout() |
int |
getNbands() |
int |
getNbits() |
int |
getNcols() |
double |
getNodata_value() |
int |
getNrows() |
int |
getSkipbytes() |
int |
getTotalrowbytes() |
double |
getUlxmax() |
double |
getUlymax() |
double |
getXdim() |
double |
getXllcorner() |
double |
getYdim() |
double |
getYllcorner() |
boolean |
isValid() |
void |
read(java.io.File file) |
void |
setByteOrder(java.nio.ByteOrder order) |
void |
setComments(java.lang.String comments) |
void |
setDataType(int dataType) |
void |
setDimensions(int nrows,
int ncols,
Envelope envelope) |
void |
setNBands(int nbands) |
void |
write(java.io.File file) |
writeQuietlyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteQuietlypublic java.io.File getFile(java.io.File file)
getFile in interface FormatFilepublic java.io.File getFile()
getFile in interface FormatFilepublic void read(java.io.File file)
throws java.io.IOException
read in interface FormatFilejava.io.IOExceptionpublic int getDataType()
getDataType in interface HDRFilepublic void write(java.io.File file)
throws java.io.IOException
write in interface FormatFilejava.io.IOExceptionpublic void setByteOrder(java.nio.ByteOrder order)
setByteOrder in interface HDRFilepublic void setDataType(int dataType)
setDataType in interface HDRFilepublic void setDimensions(int nrows,
int ncols,
Envelope envelope)
setDimensions in interface HDRFilepublic Envelope getEnvelope()
getEnvelope in interface HDRFilepublic java.nio.ByteOrder getByteorder()
getByteorder in interface HDRFilepublic java.lang.String getLayout()
public int getSkipbytes()
getSkipbytes in interface HDRFilepublic double getUlxmax()
public double getUlymax()
public int getBandrowbytes()
getBandrowbytes in interface HDRFilepublic int getTotalrowbytes()
getTotalrowbytes in interface HDRFilepublic int getBandgapbytes()
getBandgapbytes in interface HDRFilepublic java.lang.String getComments()
getComments in interface HDRFilepublic void setComments(java.lang.String comments)
setComments in interface HDRFilecomments - the comments to setpublic double getNodata_value()
getNodata_value in interface HDRFilepublic double getXllcorner()
getXllcorner in interface HDRFilepublic double getYllcorner()
getYllcorner in interface HDRFilepublic int getCellsize()
getCellsize in interface HDRFilepublic int getBandSize()
getBandSize in interface HDRFile