|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.catalog.io.CatalogReader | +--net.aerith.misao.catalog.io.VizieRUsnoAReader
The VizieRUsnoAReader
is a class to read the query
result of the USNO-A1.0/2.0 catalog at the VizieR Service saved as
a text file.
The (x,y) position is also set properly so that (0,0) represents the specified R.A. and Decl. to open method and (1,1) represents the position 1 deg to the west and 1 deg to the north.
Field Summary | |
protected CircumArea |
circum_area
The circum area to read stars. |
protected java.io.BufferedReader |
reader
The input stream reader. |
protected int |
version
The version of the USNO-A catalog. |
Fields inherited from class net.aerith.misao.catalog.io.CatalogReader |
center_coor,
date,
limiting_mag,
url_set |
Constructor Summary | |
VizieRUsnoAReader()
Constructs an empty VizieRUsnoAReader . |
|
VizieRUsnoAReader(java.net.URL url)
Constructs a VizieRUsnoAReader with URL of the
data file. |
Method Summary | |
void |
close()
Closes a catalog. |
java.lang.String |
getHelpMessage()
Gets the help message. |
double |
getMaximumPositionErrorInArcsec()
Gets the maximum error of position in arcsec. |
java.lang.String |
getName()
Gets the catalog name. |
boolean |
isFile()
Checks if the catalog data is a file. |
void |
open(Coor coor,
double fov)
Opens a catalog. |
CatalogStar |
readNext()
Reads one data from the opened catalog. |
boolean |
supportsExamination()
Checks if the catalog supports the use in PIXY examination. |
Methods inherited from class net.aerith.misao.catalog.io.CatalogReader |
addURL,
getDateLimit,
getDateLimitMessage,
getFovLimit,
getFovLimitMessage,
hasDateLimit,
hasFovLimit,
isDateDependent,
isInDirectory,
open,
read,
setDate,
setDefaultURL,
setLimitingMagnitude |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected java.io.BufferedReader reader
protected CircumArea circum_area
protected int version
Constructor Detail |
public VizieRUsnoAReader()
VizieRUsnoAReader
.public VizieRUsnoAReader(java.net.URL url)
VizieRUsnoAReader
with URL of the
data file.url
- the URL of the data file.Method Detail |
public java.lang.String getName()
public boolean isFile()
public boolean supportsExamination()
public double getMaximumPositionErrorInArcsec()
public java.lang.String getHelpMessage()
public void open(Coor coor, double fov) throws java.io.IOException, java.io.FileNotFoundException, CdromNotFoundException
coor
- the R.A. and Decl. of the center.fov
- the field of view to read in degree.public CatalogStar readNext() throws java.io.IOException, java.io.FileNotFoundException, CdromNotFoundException, QueryFailException
public void close() throws java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |