Class SIAPGenerator

All Implemented Interfaces:
Direct Known Subclasses:
AkariGenerator, NeatGenerator, SIAP2Generator

public class SIAPGenerator
extends java.lang.Object
implements ImageGenerator
This class gets a set of candidates from a SIAP request
  • Constructor Summary

    Constructor Description
  • Method Summary

    Modifier and Type Method Description
    protected java.lang.String addPosToURL​(java.lang.String base, double ra, double dec, double size)  
    protected java.lang.String getBaseURL()
    Find the base URL for this SIAP service
    void getImages​(double ra, double dec, double size, java.util.ArrayList<java.lang.String> spells)
    Get images from a SIAP service
    protected java.lang.String getSurveyName()  
    protected java.lang.String updateURL​(java.lang.String input)
    Do regular expression transformation if requested.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getBaseURL

      protected java.lang.String getBaseURL()
      Find the base URL for this SIAP service
    • getSurveyName

      protected java.lang.String getSurveyName()
    • getImages

      public void getImages​(double ra, double dec, double size, java.util.ArrayList<java.lang.String> spells) throws java.lang.Exception
      Get images from a SIAP service
      Specified by:
      getImages in interface ImageGenerator
    • addPosToURL

      protected java.lang.String addPosToURL​(java.lang.String base, double ra, double dec, double size)
    • updateURL

      protected java.lang.String updateURL​(java.lang.String input)
      Do regular expression transformation if requested. Other classes can override but should probably call this first unless they explicitly handle this.