|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.imagery.BandInfo
public class BandInfo
Class for holding Band information
| Constructor Summary | |
|---|---|
BandInfo()
Default constructor |
|
BandInfo(BandInfo that)
Copy constructor |
|
BandInfo(int sensor,
int band)
Create a new BandInfo |
|
BandInfo(int sensor,
int band,
String description)
Create a new BandInfo |
|
BandInfo(int sensor,
int band,
String description,
List units)
Create a new BandInfo |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Check for equality |
static int |
findIndexByName(String desc,
List<BandInfo> bandinfos)
Find the index in the list of the first band with the band description. |
static int |
findIndexByNumber(int band,
List<BandInfo> bandinfos)
Find the index in the list of the first band with the band number. |
String |
getBandDescription()
Get the description for the band |
int |
getBandNumber()
Get the band number for this BandInfo |
List |
getCalibrationUnits()
Cet the calibration units for this BandInfo |
String |
getPreferredUnit()
Cet the preferred calibration units for this BandInfo |
int |
getSensor()
Get the satellite sensor number for this BandInfo |
int |
hashCode()
Get the Hashcode for this object. |
void |
setBandDescription(String description)
Set the band description for this BandInfo |
void |
setBandNumber(int band)
Set the band number for this BandInfo |
void |
setCalibrationUnits(List units)
Set the calibration units for this BandInfo |
void |
setPreferredUnit(String unit)
Set the preferred calibration unit for this BandInfo |
void |
setSensor(int sensor)
Set the satellite sensor number for this BandInfo |
String |
toString()
Get a String Representation of this object |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BandInfo()
public BandInfo(int sensor,
int band)
sensor - satellite sensor numberband - band number
public BandInfo(int sensor,
int band,
String description)
sensor - satellite sensor numberband - band numberdescription - description of band
public BandInfo(int sensor,
int band,
String description,
List units)
sensor - satellite sensor numberband - band numberdescription - description of bandunits - available calibration unitspublic BandInfo(BandInfo that)
that - other BandInfo| Method Detail |
|---|
public void setBandNumber(int band)
band - band numberpublic int getBandNumber()
public void setBandDescription(String description)
description - band descriptionpublic String getBandDescription()
public void setSensor(int sensor)
sensor - sensor numberpublic int getSensor()
public void setCalibrationUnits(List units)
units - list of calibration unitspublic List getCalibrationUnits()
public void setPreferredUnit(String unit)
unit - unit idpublic String getPreferredUnit()
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objecto - object to check
public int hashCode()
hashCode in class Object
public static int findIndexByNumber(int band,
List<BandInfo> bandinfos)
band - band numberbandinfos - list of BandInfos
public static int findIndexByName(String desc,
List<BandInfo> bandinfos)
desc - band namebandinfos - list of BandInfos
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||