net.aerith.misao.catalog
Class CatalogManager

java.lang.Object
  |
  +--net.aerith.misao.catalog.CatalogManager

public class CatalogManager
extends java.lang.Object

The CatalogManager represents a set of all catalogs.


Field Summary
static int CATEGORY_CLUSTER_AND_NEBULA
          The number of catalog category for "Clusters and Nebulae".
static int CATEGORY_COMET_AND_ASTEROID
          The number of catalog category for "Comets and Asteroids".
static int CATEGORY_ERROR
          The number of catalog category for "Catalog Errors".
static int CATEGORY_INFRARED
          The number of catalog category for "Infrared Catalog".
static int CATEGORY_OTHERS
          The number of catalog category for "Others".
static int CATEGORY_STAR
          The number of catalog category for "Star Catalog".
static int CATEGORY_VARIABLE
          The number of catalog category for "Variable Stars".
static int CATEGORY_XRAY
          The number of catalog category for "X-ray Catalog".
 
Constructor Summary
CatalogManager()
           
 
Method Summary
static java.lang.String convertCatalogCodeToName(java.lang.String catalog_code)
          Converts the specified catalog code to the catalog name.
static java.lang.String convertCatalogFolderToName(java.lang.String catalog_folder)
          Converts the specified catalog folder to the catalog name.
static java.lang.String convertCatalogNameToAcronym(java.lang.String catalog_name)
          Converts the specified catalog name to the catalog acronym.
static java.lang.String convertCatalogNameToCode(java.lang.String catalog_name)
          Converts the specified catalog name to the catalog code.
static java.lang.String convertCatalogNameToFolder(java.lang.String catalog_name)
          Converts the specified catalog name to the catalog folder name.
static java.lang.String convertCategoryFolderToName(java.lang.String folder)
          Converts the specified category folder to the category name.
static java.lang.String convertCategoryNameToFolder(java.lang.String name)
          Converts the specified category name to the folder name.
static java.util.Vector getAstrometrySupportedCatalogList()
          Gets the list of catalog names which supports the astrometry.
static java.lang.String[] getCatalogCategories()
          Gets the array of catalog categories.
static java.lang.String getCatalogCategoryFolder(int number)
          Gets the folder string of the specified catalog category number.
static java.lang.String getCatalogCategoryName(int number)
          Gets the catalog category name of the specified number.
static java.util.Vector getCatalogListInCategory(java.lang.String category_name)
          Gets the list of catalog names in the specified category.
private static java.util.Vector getCatalogReaderList()
          Gets the list of catalog readers.
private static CatalogStar getCatalogStar(java.lang.String catalog_name)
          Gets a star object of the specified catalog name.
static java.lang.String getCatalogStarClassName(java.lang.String catalog_name)
          Gets the class name of the specified catalog name of a star.
private static java.util.Vector getCatalogStarList()
          Gets the list of catalog stars.
static java.util.Vector getCatalogWriterList()
          Gets the list of catalog writers.
static PlotProperty getDefaultProperty(java.lang.String catalog_name)
          Gets the default property to plot stars of the specified catalog.
static java.util.Vector getIdentificationCatalogReaderList()
          Gets the list of catalog readers for identification.
static java.util.Vector getMagnitudeSupportedCatalogList()
          Gets the list of catalog names which contains the magnitude data.
static java.util.Vector getPathOrientedCatalogReaderList()
          Gets the list of catalog readers to be read from a file or files in a directory.
static java.util.Vector getPhotometrySupportedCatalogList()
          Gets the list of catalog names which supports the regular photometry.
static CatalogReader getSampleStarCatalogReader()
          Gets the sample star catalog reader.
static CatalogStar getSampleStarCatalogStar()
          Gets the sample star.
static CatalogReader getStarCatalogReader(java.lang.String name)
          Gets the star catalog reader of the specified name.
static java.util.Vector getStarCatalogReaderList()
          Gets the list of star catalog readers.
static Star selectTypicalVsnetCatalogStar(java.util.Vector list)
          Selects the highest prioritized catalog star in magnitude report to the VSNET among the selected list.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

CATEGORY_STAR

public static final int CATEGORY_STAR
The number of catalog category for "Star Catalog".

CATEGORY_INFRARED

public static final int CATEGORY_INFRARED
The number of catalog category for "Infrared Catalog".

CATEGORY_XRAY

public static final int CATEGORY_XRAY
The number of catalog category for "X-ray Catalog".

CATEGORY_VARIABLE

public static final int CATEGORY_VARIABLE
The number of catalog category for "Variable Stars".

CATEGORY_COMET_AND_ASTEROID

public static final int CATEGORY_COMET_AND_ASTEROID
The number of catalog category for "Comets and Asteroids".

CATEGORY_CLUSTER_AND_NEBULA

public static final int CATEGORY_CLUSTER_AND_NEBULA
The number of catalog category for "Clusters and Nebulae".

CATEGORY_ERROR

public static final int CATEGORY_ERROR
The number of catalog category for "Catalog Errors".

CATEGORY_OTHERS

public static final int CATEGORY_OTHERS
The number of catalog category for "Others".
Constructor Detail

CatalogManager

public CatalogManager()
Method Detail

getStarCatalogReaderList

public static java.util.Vector getStarCatalogReaderList()
Gets the list of star catalog readers.
Returns:
the list of star catalog readers.

getStarCatalogReader

public static CatalogReader getStarCatalogReader(java.lang.String name)
Gets the star catalog reader of the specified name.
Parameters:
name - the name of the reader.
Returns:
the star catalog reader.

getIdentificationCatalogReaderList

public static java.util.Vector getIdentificationCatalogReaderList()
Gets the list of catalog readers for identification.
Returns:
the list of catalog readers for identification.

getPathOrientedCatalogReaderList

public static java.util.Vector getPathOrientedCatalogReaderList()
Gets the list of catalog readers to be read from a file or files in a directory.
Returns:
the list of catalog readers.

getCatalogCategories

public static java.lang.String[] getCatalogCategories()
Gets the array of catalog categories.
Returns:
the array of catalog categories.

getCatalogCategoryName

public static java.lang.String getCatalogCategoryName(int number)
Gets the catalog category name of the specified number.
Parameters:
number - the number for a catalog category.
Returns:
the name of catalog category.

getCatalogCategoryFolder

public static java.lang.String getCatalogCategoryFolder(int number)
Gets the folder string of the specified catalog category number.
Parameters:
number - the number for a catalog category.
Returns:
the folder string of catalog category.

convertCategoryNameToFolder

public static java.lang.String convertCategoryNameToFolder(java.lang.String name)
Converts the specified category name to the folder name.
Parameters:
name - the name of category.
Returns:
the folder name.

convertCategoryFolderToName

public static java.lang.String convertCategoryFolderToName(java.lang.String folder)
Converts the specified category folder to the category name.
Parameters:
folder - the folder name of category.
Returns:
the category name.

getCatalogListInCategory

public static java.util.Vector getCatalogListInCategory(java.lang.String category_name)
Gets the list of catalog names in the specified category.
Parameters:
category_name - the name of category.
Returns:
the list of catalog names in the specified category.

getPhotometrySupportedCatalogList

public static java.util.Vector getPhotometrySupportedCatalogList()
Gets the list of catalog names which supports the regular photometry.
Returns:
the list of catalog names which supports the regular photometry.

getMagnitudeSupportedCatalogList

public static java.util.Vector getMagnitudeSupportedCatalogList()
Gets the list of catalog names which contains the magnitude data.
Returns:
the list of catalog names which contains the magnitude data.

getAstrometrySupportedCatalogList

public static java.util.Vector getAstrometrySupportedCatalogList()
Gets the list of catalog names which supports the astrometry.
Returns:
the list of catalog names which supports the astrometry.

getCatalogStarClassName

public static java.lang.String getCatalogStarClassName(java.lang.String catalog_name)
Gets the class name of the specified catalog name of a star.
Parameters:
catalog_name - the catalog name of a star.
Returns:
the class name.

convertCatalogNameToAcronym

public static java.lang.String convertCatalogNameToAcronym(java.lang.String catalog_name)
Converts the specified catalog name to the catalog acronym.
Parameters:
catalog_name - the name of catalog.
Returns:
the catalog acronym.

convertCatalogNameToCode

public static java.lang.String convertCatalogNameToCode(java.lang.String catalog_name)
Converts the specified catalog name to the catalog code.
Parameters:
catalog_name - the name of catalog.
Returns:
the catalog code.

convertCatalogNameToFolder

public static java.lang.String convertCatalogNameToFolder(java.lang.String catalog_name)
Converts the specified catalog name to the catalog folder name.
Parameters:
catalog_name - the name of catalog.
Returns:
the catalog folder name.

convertCatalogCodeToName

public static java.lang.String convertCatalogCodeToName(java.lang.String catalog_code)
Converts the specified catalog code to the catalog name.
Parameters:
catalog_code - the code of catalog.
Returns:
the catalog name.

convertCatalogFolderToName

public static java.lang.String convertCatalogFolderToName(java.lang.String catalog_folder)
Converts the specified catalog folder to the catalog name.
Parameters:
catalog_folder - the folder name of catalog.
Returns:
the catalog name.

getDefaultProperty

public static PlotProperty getDefaultProperty(java.lang.String catalog_name)
Gets the default property to plot stars of the specified catalog.
Parameters:
catalog_name - the name of catalog.
Returns:
the default property.

getCatalogStar

private static CatalogStar getCatalogStar(java.lang.String catalog_name)
Gets a star object of the specified catalog name.
Parameters:
catalog_name - the catalog name of a star.
Returns:
a star object.

getCatalogReaderList

private static java.util.Vector getCatalogReaderList()
Gets the list of catalog readers.
Returns:
the list of catalog readers.

getCatalogWriterList

public static java.util.Vector getCatalogWriterList()
Gets the list of catalog writers.
Returns:
the list of catalog writers.

getCatalogStarList

private static java.util.Vector getCatalogStarList()
Gets the list of catalog stars.
Returns:
the list of catalog stars.

selectTypicalVsnetCatalogStar

public static Star selectTypicalVsnetCatalogStar(java.util.Vector list)
Selects the highest prioritized catalog star in magnitude report to the VSNET among the selected list.
Parameters:
list - the list of catalog stars.
Returns:
the highest prioritized star object.

getSampleStarCatalogReader

public static CatalogReader getSampleStarCatalogReader()
Gets the sample star catalog reader.
Returns:
the sample star catalog reader.

getSampleStarCatalogStar

public static CatalogStar getSampleStarCatalogStar()
Gets the sample star.
Returns:
the sample star.