Class SIAPGenerator

    • Constructor Summary

      Constructors 
      Constructor Description
      SIAPGenerator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 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 Detail

      • SIAPGenerator

        public SIAPGenerator()
    • Method Detail

      • getBaseURL

        protected java.lang.String getBaseURL()
        Find the base URL for this SIAP service
      • 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
        Throws:
        java.lang.Exception
      • 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.