Class ZipCachedData

java.lang.Object
org.bedework.timezones.common.AbstractCachedData
org.bedework.timezones.common.ZipCachedData
All Implemented Interfaces:
Serializable, CachedData, org.bedework.util.logging.Logged

public class ZipCachedData extends AbstractCachedData
Cached data affected by the source data.
Author:
douglm
See Also:
  • Constructor Details

  • Method Details

    • stop

      public void stop() throws TzException
      Description copied from interface: CachedData
      Stop any running threads.
      Throws:
      TzException - on fatal error
    • getSource

      public String getSource() throws TzException
      Returns:
      String source information for data.
      Throws:
      TzException - on fatal error
    • checkData

      public void checkData() throws TzException
      Description copied from interface: CachedData
      Update from primary source if any.
      Throws:
      TzException - on fatal error
    • updateData

      public void updateData(String dtstamp, List<Differ.DiffListEntry> dles) throws TzException
      Description copied from interface: CachedData
      Update the stored data using the given update list. Note that the update may be transient if the data cache has no or an unchangable backing.
      Parameters:
      dtstamp - lastmod for change
      dles - diff list
      Throws:
      TzException - on fatal error
    • findIds

      public List<String> findIds(String val) throws TzException
      Description copied from class: AbstractCachedData
      Find tz identifiers or alias names that (partially) match the given value
      Specified by:
      findIds in class AbstractCachedData
      Parameters:
      val - pattern to match
      Returns:
      list of strings - never null
      Throws:
      TzException - on fatal error