Class APIReaders.RadarMNSetGeoserverRunnable

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

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

      • RADAR_CACHE_FILENAME_PREFIX

        public static final java.lang.String RADAR_CACHE_FILENAME_PREFIX
        See Also:
        Constant Field Values
      • RADAR_CACHE_FILENAME_SUFFIX

        public static final java.lang.String RADAR_CACHE_FILENAME_SUFFIX
        See Also:
        Constant Field Values
      • ssl_exception

        public boolean ssl_exception
    • Constructor Detail

      • RadarMNSetGeoserverRunnable

        public RadarMNSetGeoserverRunnable​(Context context)
    • Method Detail

      • setForceUpdate

        public void setForceUpdate​(boolean forceUpdate)
      • roundUTCUpToNextFiveMinutes

        public long roundUTCUpToNextFiveMinutes​(long time)
      • getUrlStringForTime

        public java.net.URL getUrlStringForTime​(long time,
                                                boolean ssl)
      • getRadarMNFile

        public static java.io.File getRadarMNFile​(Context context,
                                                  int count)
      • radarCacheFileExists

        public static boolean radarCacheFileExists​(Context context,
                                                   int count)
      • radarCacheFileValid

        public static boolean radarCacheFileValid​(Context context,
                                                  int count)
      • fullRadarDataSet

        public static boolean fullRadarDataSet​(Context context)
      • deleteCacheFile

        public static boolean deleteCacheFile​(Context context,
                                              int count)
      • deleteCacheFiles

        public static void deleteCacheFiles​(Context context)
      • fetchRadarSet

        public void fetchRadarSet​(int start,
                                  int stop)
      • incrementProgress

        public void incrementProgress()
      • incrementErrors

        public void incrementErrors()
      • onStart

        public void onStart()
      • onFinished

        public void onFinished​(long startTime,
                               boolean success)
      • onProgress

        public void onProgress​(long startTime,
                               int progress)
      • run

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