Class DirIterator.DirEntry

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.io.File file  
    • Constructor Summary

      Constructors 
      Constructor Description
      DirEntry​(java.io.File f)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean check​(java.lang.String outdir)
      check if a newer version of the file exists in an output directory.
      java.lang.String getFileName()  
      java.io.InputStream getInputStream()  
      long getSize()  
      • Methods inherited from class java.lang.Object

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

      • file

        final java.io.File file
    • Constructor Detail

      • DirEntry

        DirEntry​(java.io.File f)
    • Method Detail

      • getInputStream

        public java.io.InputStream getInputStream()
                                           throws java.io.IOException
        Specified by:
        getInputStream in class FileLister.Entry
        Throws:
        java.io.IOException
      • check

        public boolean check​(java.lang.String outdir)
        Description copied from class: FileLister.Entry
        check if a newer version of the file exists in an output directory. false negatives are allowed
        Overrides:
        check in class FileLister.Entry
        Parameters:
        outdir - the output directory
        Returns:
        true if the newer version exists