Class DirectoryScanResult


  • public class DirectoryScanResult
    extends java.lang.Object
    Scan for files in a directory at a given time and reports removed and added files between captures.
    • Constructor Summary

      Constructors 
      Constructor Description
      DirectoryScanResult​(java.lang.String[] filesAdded, java.lang.String[] filesRemoved)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] getFilesAdded()  
      java.lang.String[] getFilesRemoved()  
      • Methods inherited from class java.lang.Object

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

      • DirectoryScanResult

        public DirectoryScanResult​(java.lang.String[] filesAdded,
                                   java.lang.String[] filesRemoved)
        Parameters:
        filesAdded - Added files.
        filesRemoved - Removed files.
    • Method Detail

      • getFilesAdded

        public java.lang.String[] getFilesAdded()
        Returns:
        all files which got detected as being added between 2 capture calls
      • getFilesRemoved

        public java.lang.String[] getFilesRemoved()
        Returns:
        all files which got detected as being removed between 2 capture calls