Class FileListData<T extends File>

java.lang.Object
PamUtils.worker.filelist.FileListData<T>

public class FileListData<T extends File> extends Object
Information about a list of files.
Author:
dg50
  • Constructor Details

    • FileListData

      public FileListData(String[] rootList, boolean subFolders, boolean useOldIfPossible)
  • Method Details

    • addFile

      public int addFile(T aFile)
    • getFileIterator

      public ListIterator<T> getFileIterator()
    • getFileCount

      public int getFileCount()
    • getListCopy

      public ArrayList<T> getListCopy()
    • addFolder

      public void addFolder()
    • getFoldersSearched

      public int getFoldersSearched()
    • getRootList

      public String[] getRootList()
    • isSubFolders

      public boolean isSubFolders()
    • isUseOldIfPossible

      public boolean isUseOldIfPossible()
    • sortFileList

      public void sortFileList()
      Sort the file list, sorting only by name, not path.
    • sortFilePath

      public void sortFilePath()
      Sort the file list, sorting by the full path.