Class FileInfo


  • public class FileInfo
    extends Object
    Collects some data of the files in the index folder. Used to copy the file and leave the directories behind.
    Since:
    7.9.0
    • Constructor Detail

      • FileInfo

        public FileInfo​(@NonNull String name,
                        @NonNull File file,
                        long bytes)
        FileInfo object contains the name, the File and the size in bytes for the file
        Parameters:
        name - String
        file - File
        bytes - long nr of bytes this file uses
    • Method Detail

      • getName

        public @NonNull String getName()
      • getFile

        public @NonNull File getFile()
      • getSize

        public @org.checkerframework.checker.nullness.qual.NonNull long getSize()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object