Package org.aavso.tools.vstar.input
Interface IStarInfoSource
- All Known Implementing Classes:
VSXWebServiceStarInfoSource
public interface IStarInfoSource
This interface must be implemented by any class wishing to retrieve star name
or AUID from a database.
-
Method Summary
Modifier and TypeMethodDescriptiongetStarByAUID(String auid) Return the name of the star given an AUID.getStarByAUID(String auid, double minJD, double maxJD) Return the name of the star given an AUID.getStarByName(String name) Return the AUID of the named star.getStarByName(String name, double minJD, double maxJD) Return the AUID of the named star.
-
Method Details
-
getStarByName
Return the AUID of the named star.- Parameters:
name- The star name or alias.- Returns:
- Information about the star, e.g. name, AUID, period.
- Throws:
Exception
-
getStarByName
Return the AUID of the named star.- Parameters:
name- The star name or alias.minJD- The minimum JD of the range to be loaded.maxJD- The maximum JD of the range to be loaded.- Returns:
- Information about the star, e.g. name, AUID, period.
- Throws:
Exception
-
getStarByAUID
Return the name of the star given an AUID.- Parameters:
name- The AUID.- Returns:
- Information about the star, e.g. name, AUID, period.
- Throws:
Exception
-
getStarByAUID
Return the name of the star given an AUID.- Parameters:
name- The AUID.minJD- The minimum JD of the range to be loaded.maxJD- The maximum JD of the range to be loaded.- Returns:
- Information about the star, e.g. name, AUID, period.
- Throws:
Exception
-