public class EnviHeader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FILE_EXTENSION
The extension used for ENVI header files.
|
Modifier and Type | Method and Description |
---|---|
static void |
createPhysicalFile(File headerFile,
RasterDataNode rasterDataNode,
int width,
int height)
Writes the header for the
RasterDataNode to the File . |
static void |
createPhysicalFile(File headerFile,
RasterDataNode rasterDataNode,
int width,
int height,
int byteorder)
Writes the header for the
RasterDataNode to the File . |
public static final String FILE_EXTENSION
public static void createPhysicalFile(File headerFile, RasterDataNode rasterDataNode, int width, int height) throws IOException
RasterDataNode
to the File
.headerFile
- - the File
destinationrasterDataNode
- the RasterDataNode
width
- the nodes's width in pixelsheight
- the nodes's height in pixelsIOException
- if an I/O error occurspublic static void createPhysicalFile(File headerFile, RasterDataNode rasterDataNode, int width, int height, int byteorder) throws IOException
RasterDataNode
to the File
.headerFile
- - the File
destinationrasterDataNode
- the RasterDataNode
width
- the nodes's width in pixelsheight
- the nodes's height in pixelsbyteorder
- the byte orderingIOException
- if an I/O error occursCopyright © 2014–2017 European Space Agency (ESA). All rights reserved.