|
|||||||||
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.MinorPlanetCheckerReader
The MinorPlanetCheckerReader
is a class to send
queries to the Minor Planet Checker server, receive the results
and read them.
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 boolean |
body_flag
True if the comets and asteroids data part is being read. |
protected int |
current_area
The current number of search areas. |
protected java.util.Hashtable |
hash
The hash table to avoid duplication. |
protected java.util.Vector |
map_list
The list of search areas. |
protected int |
radius_arcmin
The radius to search in arcmin. |
protected java.io.BufferedReader |
reader
The input stream reader. |
Fields inherited from class net.aerith.misao.catalog.io.CatalogReader |
center_coor,
date,
limiting_mag,
url_set |
Constructor Summary | |
MinorPlanetCheckerReader()
Constructs an empty MinorPlanetCheckerReader . |
Method Summary | |
void |
close()
Closes a catalog. |
double |
getDateLimit()
Gets the limit on the date. |
java.lang.String |
getDateLimitMessage()
Gets the message for limit on the date. |
double |
getFovLimit()
Gets the limit on the field of view. |
java.lang.String |
getFovLimitMessage()
Gets the message for limit on the field of view. |
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 |
hasDateLimit()
Returns true if the reader has limit on the date. |
boolean |
hasFovLimit()
Returns true if the reader has limit on the field of view. |
boolean |
isDateDependent()
Checks if the catalog depends on the date. |
void |
open(Coor coor,
double fov)
Opens a catalog. |
CatalogStar |
readNext()
Reads one data from the opened catalog. |
protected static boolean |
startsWith(java.lang.String target_string,
java.lang.String key_string)
Checkes if the specified target string is starting with the specified key string. |
Methods inherited from class net.aerith.misao.catalog.io.CatalogReader |
addURL,
isFile,
isInDirectory,
open,
read,
setDate,
setDefaultURL,
setLimitingMagnitude,
supportsExamination |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected java.io.BufferedReader reader
protected int radius_arcmin
protected java.util.Vector map_list
protected java.util.Hashtable hash
protected int current_area
protected boolean body_flag
Constructor Detail |
public MinorPlanetCheckerReader()
MinorPlanetCheckerReader
.Method Detail |
public java.lang.String getName()
public boolean isDateDependent()
public boolean hasFovLimit()
public double getFovLimit()
public java.lang.String getFovLimitMessage()
public boolean hasDateLimit()
public double getDateLimit()
public java.lang.String getDateLimitMessage()
public double getMaximumPositionErrorInArcsec()
public java.lang.String getHelpMessage()
protected static boolean startsWith(java.lang.String target_string, java.lang.String key_string)
target_string
- the string to check if starting with the
specified key string.key_string
- the string to check if the target string
is starting with.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 |