Package javatapas.io

Class GetFilesInDirectoryRecursively

java.lang.Object
javatapas.io.GetFilesInDirectoryRecursively

public class GetFilesInDirectoryRecursively
extends Object
Version:
2021-05-20
Author:
Kodiak Brown
  • Constructor Details

    • GetFilesInDirectoryRecursively

      public GetFilesInDirectoryRecursively()
  • Method Details

    • getFilesInDirectoryRecursively

      public static void getFilesInDirectoryRecursively​(String directoryName, List<File> files)
      Parameters:
      directoryName - The directory name to be searched for files.
      files - The List of files found in the directory. This list must be instantiated as an empty list before sending to this method (e.g. List<File> files = new ArrayList<>();),
    • getFilesInDirectoryRecursively

      public static void getFilesInDirectoryRecursively​(String directoryName, List<File> files, String extension)
      Parameters:
      directoryName - The directory name to be searched for files.
      files - The List of files found in the directory. This list must be instantiated as an empty list before sending to this method (e.g. List<File> files = new ArrayList<>();),
      extension - The extension to use as a file name filter.