Class APIReaders.getLayerImages

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    APIReaders

    public static class APIReaders.getLayerImages
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Detail

      • ssl_exception

        public boolean ssl_exception
    • Constructor Detail

      • getLayerImages

        public getLayerImages​(Context context,
                              java.util.ArrayList<WeatherLayer> layers)
    • Method Detail

      • getGeoServerURL

        public static java.net.URL getGeoServerURL​(boolean ssl,
                                                   WeatherLayer weatherLayer)
      • getTimeStamp

        public static java.lang.String getTimeStamp​(long timestamp)
      • getLayerInputStream

        public java.io.InputStream getLayerInputStream​(WeatherLayer weatherLayer)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • readImage

        public static boolean readImage​(java.io.InputStream inputStream,
                                        java.io.File targetFile)
      • readLayer

        public boolean readLayer​(WeatherLayer weatherLayer)
      • setForceUpdate

        public void setForceUpdate​(boolean b)
      • onStart

        public void onStart()
      • onProgress

        public void onProgress​(WeatherLayer weatherLayer)
      • onFinished

        public void onFinished​(boolean success)
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable