Here you can find the source of getFiles(String thePaths[])
public static File[] getFiles(String thePaths[])
//package com.java2s; import java.io.File; public class Main { /**/*from www . jav a2 s . co m*/ * Returns the Files for given paths. */ public static File[] getFiles(String thePaths[]) { File files[] = new File[thePaths.length]; for (int i = 0; i < thePaths.length; i++) files[i] = getFile(thePaths[i]); return files; } /** * Returns a File for given path. */ public static File getFile(String aPath) { return new File(aPath); } }