public class EnviInfo extends HeaderInfo
Modifier and Type | Class and Description |
---|---|
(package private) static class |
EnviInfo.MapInfoIndex |
Modifier and Type | Field and Description |
---|---|
private String |
dataFile
The url
|
private boolean |
hasBounds |
private boolean |
isEnvi |
private static org.slf4j.Logger |
logger |
BANDFILES, BANDNAMES, BIGENDIAN, BYTEORDER, DATATYPE, DESCRIPTION, ELEMENTS, INTERLEAVE, kFormat1ByteUInt, kFormat2ByteSInt, kFormat2ByteUInt, kFormat2x8Byte, kFormat4ByteFloat, kFormat4ByteSInt, kFormat8ByteDouble, kFormatASCII, kFormatImage, kFormatUnknown, kInterleaveByLine, kInterleaveByPixel, kInterleaveSequential, kNavigationBounds, kNavigationFiles, kNavigationUnknown, LINES, MISSINGVALUE, NAVBOUNDS, NAVFILES, OFFSET, UNIT
Constructor and Description |
---|
EnviInfo()
Ctor for xml encoding
|
EnviInfo(File thisFile)
CTOR
|
EnviInfo(String filename)
CTOR
|
Modifier and Type | Method and Description |
---|---|
String |
getLatBandFile() |
int |
getLatBandNum()
Get the latitude band number.
|
String |
getLonBandFile() |
int |
getLonBandNum()
Get the longitude band number.
|
boolean |
hasEnviData()
Can we find a matching ENVI data file?
|
boolean |
isEnviHeader()
Is the file an ENVI header file?
|
boolean |
isHasBounds()
Returns whether or not there are bounds.
|
boolean |
isNavHeader()
Is this a navigation header file?
|
protected void |
parseHeader()
Parse a potential ENVI header file.
|
void |
setHasBounds(boolean hasBounds)
Control whether or not there are bounds.
|
doesExist, getBandCount, getFilename, getParameter, getParameter, getParameter, getParameter, getParameter, haveParsed, setFilename, setParameter
private boolean isEnvi
private boolean hasBounds
private static final org.slf4j.Logger logger
public EnviInfo()
public boolean isEnviHeader()
true
if the file appears to be an ENVI header file.public boolean hasEnviData()
true
if dataFile
exists.public boolean isNavHeader()
true
if dataFile
contains latitude and
longitude bands, false
otherwise.public int getLatBandNum()
public String getLatBandFile()
String
.public int getLonBandNum()
-1
.public String getLonBandFile()
String
.public boolean isHasBounds()
public void setHasBounds(boolean hasBounds)
hasBounds
- Whether or not there are bounds.protected void parseHeader()
parseHeader
in class HeaderInfo