Class Differ

java.lang.Object
org.bedework.timezones.common.Differ
All Implemented Interfaces:
org.bedework.util.logging.Logged

public class Differ extends Object implements org.bedework.util.logging.Logged
This class provides support for diffing timezone data to determine if updates need to be made to stored data.
Author:
douglm
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    compare(CachedData newTzdata, CachedData currentTzdata)
    Compares the new set of data with the supplied current set of data.
    org.bedework.util.logging.BwLogger
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bedework.util.logging.Logged

    audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn
  • Constructor Details

    • Differ

      public Differ()
  • Method Details

    • compare

      public List<Differ.DiffListEntry> compare(CachedData newTzdata, CachedData currentTzdata) throws TzException
      Compares the new set of data with the supplied current set of data.
      Parameters:
      newTzdata - new set
      currentTzdata - current set
      Returns:
      possibly empty list - never null.
      Throws:
      TzException - on fatal error
    • getLogger

      public org.bedework.util.logging.BwLogger getLogger()
      Specified by:
      getLogger in interface org.bedework.util.logging.Logged