Class SnapshotLogger

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class SnapshotLogger
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SNAPSHOT_LOG_NAME  
      static java.lang.String SPLIT_CHAR  
    • Constructor Summary

      Constructors 
      Constructor Description
      SnapshotLogger​(java.io.File logFile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cleanUpWhenFailed()  
      void close()  
      void logFile​(java.lang.String sourceFile, java.lang.String linkFile)  
      • Methods inherited from class java.lang.Object

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

      • SnapshotLogger

        public SnapshotLogger​(java.io.File logFile)
                       throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception
      • logFile

        public void logFile​(java.lang.String sourceFile,
                            java.lang.String linkFile)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • cleanUpWhenFailed

        public void cleanUpWhenFailed()
                               throws java.io.IOException
        Throws:
        java.io.IOException