|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Collection>
gov.nasa.gsfc.drl.rtstps.core.output.hdf5.Collection
public enum Collection
A Collection
is defined by the JPSS/NPOESS documentation for RDRs. This package support four at this time:
VIIRS, ATMS, CrIS and Spacecraft Diary (attitude and ephemeris)
Enum Constant Summary | |
---|---|
ATMS_SCIENCE_RDR
|
|
CrIS_SCIENCE_RDR
|
|
SPACECRAFT_DIARY_RDR
|
|
VIIRS_SCIENCE_RDR
|
Method Summary | |
---|---|
static Collection |
fromRDRName(RDRName rdrName)
Return the Collection from an RDR name. |
static Collection |
myValueOf(java.lang.String collectionStr)
Replaces valueOf which doesn't know about the "-" vs "_" issues |
java.lang.String |
toString()
Return the Collection name as String but swap the underscores with a hyphen because this is
what is needed by the RDR attributes in the HDF file. |
static Collection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Collection[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Collection VIIRS_SCIENCE_RDR
public static final Collection ATMS_SCIENCE_RDR
public static final Collection CrIS_SCIENCE_RDR
public static final Collection SPACECRAFT_DIARY_RDR
Method Detail |
---|
public static Collection[] values()
for (Collection c : Collection.values()) System.out.println(c);
public static Collection valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static Collection fromRDRName(RDRName rdrName)
Collection
from an RDR name.
Collection
matching the RDR name or null if no match is foundpublic java.lang.String toString()
Collection
name as String but swap the underscores with a hyphen because this is
what is needed by the RDR attributes in the HDF file.
toString
in class java.lang.Enum<Collection>
Collection
with the '_' replaced by '-'public static Collection myValueOf(java.lang.String collectionStr)
collectionStr
- a String like this SPACECRAFT-DIARY-RDR
Collection
or null if no match is found
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |