Java Folder Read getFiles(List filePaths)

Here you can find the source of getFiles(List filePaths)

Description

get Files

License

Open Source License

Declaration

public static List<File> getFiles(List<String> filePaths) 

Method Source Code


//package com.java2s;
import java.io.File;

import java.util.ArrayList;

import java.util.List;

public class Main {
    public static List<File> getFiles(List<String> filePaths) {
        List<File> files = new ArrayList<File>(filePaths.size());
        for (String path : filePaths) {
            File file = new File(path);
            files.add(file);//from w  ww . j  a  v a 2  s  .  c  o m
        }
        return files;
    }
}

Related

  1. getFiles(final File dir)
  2. getFiles(final File root, final String[] endings)
  3. getFiles(final String classPath)
  4. getFiles(final String path, Vector files)
  5. getFiles(List filepaths)
  6. getFiles(List l, String directory)
  7. getFiles(String _path)
  8. getFiles(String dir)
  9. getFiles(String dir)