Java File List Load getFileList(String path)

Here you can find the source of getFileList(String path)

Description

get File List

License

Apache License

Declaration

public static File[] getFileList(String path) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.io.File;

public class Main {
    public static File[] getFileList(String path) {
        File dirFile = new File(path);
        File[] fileList = dirFile.listFiles();
        return fileList;
    }/*w w w  .  j a va 2 s.c  om*/
}

Related

  1. getFileList(String inputFilename)
  2. getFileList(String path)
  3. getFileList(String path)
  4. getFileList(String path)
  5. getFileList(String path)
  6. getFileList(String path, String filterName)
  7. getFileList(String path, String regex)
  8. getFileList(String path, String searchString)
  9. getFileList(String s)