Class DefaultTrackingFileManager

  • All Implemented Interfaces:
    TrackingFileManager

    @Singleton
    @Named
    public final class DefaultTrackingFileManager
    extends java.lang.Object
    implements TrackingFileManager
    Manages access to a properties file.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.slf4j.Logger LOGGER  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void close​(java.io.Closeable closeable, java.io.File file)  
      java.util.Properties read​(java.io.File file)  
      java.util.Properties update​(java.io.File file, java.util.Map<java.lang.String,​java.lang.String> updates)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
    • Constructor Detail

      • DefaultTrackingFileManager

        public DefaultTrackingFileManager()
    • Method Detail

      • read

        public java.util.Properties read​(java.io.File file)
        Specified by:
        read in interface TrackingFileManager
      • update

        public java.util.Properties update​(java.io.File file,
                                           java.util.Map<java.lang.String,​java.lang.String> updates)
        Specified by:
        update in interface TrackingFileManager
      • close

        private void close​(java.io.Closeable closeable,
                           java.io.File file)