public enum Catalog extends Enum<Catalog>
RecordParser
implementations.Enum Constant and Description |
---|
HENRY_DRAPER_CATALOG |
TEST_CATALOG |
TYCHO2_CATALOG |
YALE_BRIGHT_STAR_CATALOG |
Modifier and Type | Method and Description |
---|---|
RecordParser |
getRecordParser()
Return the object which can parse a catalog record into the required data.
|
static Catalog |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Catalog[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Catalog YALE_BRIGHT_STAR_CATALOG
public static final Catalog HENRY_DRAPER_CATALOG
public static final Catalog TYCHO2_CATALOG
public static final Catalog TEST_CATALOG
public static Catalog[] values()
for (Catalog c : Catalog.values()) System.out.println(c);
public static Catalog valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic RecordParser getRecordParser()
Starfield - Copyright Hirondelle Systems. Published March 1, 2014