Class FolderWrapper

java.lang.Object
adalid.util.io.FolderWrapper

public class FolderWrapper extends Object
Author:
Jorge Campins
  • Constructor Details

    • FolderWrapper

      public FolderWrapper(File folder)
  • Method Details

    • getFile

      public File getFile()
      Returns:
      the file
    • getPath

      public Path getPath()
      Returns:
      the path
    • getBytesSizes

      public Map<FileBytesSize,Sequence> getBytesSizes()
      Returns:
      the bytes sizes
    • getLinesSizes

      public Map<FileLinesSize,Sequence> getLinesSizes()
      Returns:
      the lines sizes
    • getLocalFiles

      public long getLocalFiles()
      Returns:
      the files
    • setLocalFiles

      public void setLocalFiles(long files)
      Parameters:
      files - the files to set
    • getLocalBytes

      public long getLocalBytes()
      Returns:
      the bytes
    • setLocalBytes

      public void setLocalBytes(long bytes)
      Parameters:
      bytes - the bytes to set
    • getLocalLines

      public long getLocalLines()
      Returns:
      the lines
    • setLocalLines

      public void setLocalLines(long lines)
      Parameters:
      lines - the lines to set
    • getTotalFiles

      public long getTotalFiles()
      Returns:
      the total files
    • setTotalFiles

      public void setTotalFiles(long totalFiles)
      Parameters:
      totalFiles - the total files to set
    • getTotalBytes

      public long getTotalBytes()
      Returns:
      the total bytes
    • setTotalBytes

      public void setTotalBytes(long totalBytes)
      Parameters:
      totalBytes - the total bytes to set
    • getTotalLines

      public long getTotalLines()
      Returns:
      the total lines
    • setTotalLines

      public void setTotalLines(long totalLines)
      Parameters:
      totalLines - the total lines to set
    • getFilesShare

      public double getFilesShare()
      Returns:
      the files share
    • setFilesShare

      public void setFilesShare(double filesShare)
      Parameters:
      filesShare - the files share to set
    • getBytesShare

      public double getBytesShare()
      Returns:
      the bytes share
    • setBytesShare

      public void setBytesShare(double bytesShare)
      Parameters:
      bytesShare - the bytes share to set
    • getLinesShare

      public double getLinesShare()
      Returns:
      the lines share
    • setLinesShare

      public void setLinesShare(double linesShare)
      Parameters:
      linesShare - the lines share to set