/** * Returns an array of files contained in the directory represented by this * file. The result is {@code null} if this file is not a directory. The * paths of the files in the array are absolute if the path of this file is * absolute, they are relative otherwise. * * @return an array of files or {@code null}. */ public File[] listFiles() { return filenamesToFiles(list()); }
/** * Gets a list of the files in the directory represented by this file. This * list is then filtered through a FilenameFilter and files with matching * names are returned as an array of files. Returns {@code null} if this * file is not a directory. If {@code filter} is {@code null} then all * filenames match. * <p> * The entries {@code .} and {@code ..} representing the current and parent * directories are not returned as part of the list. * * @param filter * the filter to match names against, may be {@code null}. * @return an array of files or {@code null}. */ public File[] listFiles(FilenameFilter filter) { return filenamesToFiles(list(filter)); }
/** * Returns an array of files contained in the directory represented by this * file. The result is {@code null} if this file is not a directory. The * paths of the files in the array are absolute if the path of this file is * absolute, they are relative otherwise. * * @return an array of files or {@code null}. */ public File[] listFiles() { return filenamesToFiles(list()); }
/** * Returns an array of files contained in the directory represented by this * file. The result is {@code null} if this file is not a directory. The * paths of the files in the array are absolute if the path of this file is * absolute, they are relative otherwise. * * @return an array of files or {@code null}. */ public File[] listFiles() { return filenamesToFiles(list()); }
/** * Returns an array of files contained in the directory represented by this * file. The result is {@code null} if this file is not a directory. The * paths of the files in the array are absolute if the path of this file is * absolute, they are relative otherwise. * * @return an array of files or {@code null}. */ public File[] listFiles() { return filenamesToFiles(list()); }
/** * Returns an array of files contained in the directory represented by this * file. The result is {@code null} if this file is not a directory. The * paths of the files in the array are absolute if the path of this file is * absolute, they are relative otherwise. * * @return an array of files or {@code null}. */ public File[] listFiles() { return filenamesToFiles(list()); }
/** * Returns an array of files contained in the directory represented by this * file. The result is {@code null} if this file is not a directory. The * paths of the files in the array are absolute if the path of this file is * absolute, they are relative otherwise. * * @return an array of files or {@code null}. */ public File[] listFiles() { return filenamesToFiles(list()); }
/** * Returns an array of files contained in the directory represented by this * file. The result is {@code null} if this file is not a directory. The * paths of the files in the array are absolute if the path of this file is * absolute, they are relative otherwise. * * @return an array of files or {@code null}. */ public File[] listFiles() { return filenamesToFiles(list()); }
/** * Gets a list of the files in the directory represented by this file. This * list is then filtered through a FilenameFilter and files with matching * names are returned as an array of files. Returns {@code null} if this * file is not a directory. If {@code filter} is {@code null} then all * filenames match. * <p> * The entries {@code .} and {@code ..} representing the current and parent * directories are not returned as part of the list. * * @param filter * the filter to match names against, may be {@code null}. * @return an array of files or {@code null}. */ public File[] listFiles(FilenameFilter filter) { return filenamesToFiles(list(filter)); }
/** * Gets a list of the files in the directory represented by this file. This * list is then filtered through a FilenameFilter and files with matching * names are returned as an array of files. Returns {@code null} if this * file is not a directory. If {@code filter} is {@code null} then all * filenames match. * <p> * The entries {@code .} and {@code ..} representing the current and parent * directories are not returned as part of the list. * * @param filter * the filter to match names against, may be {@code null}. * @return an array of files or {@code null}. */ public File[] listFiles(FilenameFilter filter) { return filenamesToFiles(list(filter)); }
/** * Gets a list of the files in the directory represented by this file. This * list is then filtered through a FilenameFilter and files with matching * names are returned as an array of files. Returns {@code null} if this * file is not a directory. If {@code filter} is {@code null} then all * filenames match. * <p> * The entries {@code .} and {@code ..} representing the current and parent * directories are not returned as part of the list. * * @param filter * the filter to match names against, may be {@code null}. * @return an array of files or {@code null}. */ public File[] listFiles(FilenameFilter filter) { return filenamesToFiles(list(filter)); }
/** * Gets a list of the files in the directory represented by this file. This * list is then filtered through a FilenameFilter and files with matching * names are returned as an array of files. Returns {@code null} if this * file is not a directory. If {@code filter} is {@code null} then all * filenames match. * <p> * The entries {@code .} and {@code ..} representing the current and parent * directories are not returned as part of the list. * * @param filter * the filter to match names against, may be {@code null}. * @return an array of files or {@code null}. */ public File[] listFiles(FilenameFilter filter) { return filenamesToFiles(list(filter)); }
/** * Gets a list of the files in the directory represented by this file. This * list is then filtered through a FilenameFilter and files with matching * names are returned as an array of files. Returns {@code null} if this * file is not a directory. If {@code filter} is {@code null} then all * filenames match. * <p> * The entries {@code .} and {@code ..} representing the current and parent * directories are not returned as part of the list. * * @param filter * the filter to match names against, may be {@code null}. * @return an array of files or {@code null}. */ public File[] listFiles(FilenameFilter filter) { return filenamesToFiles(list(filter)); }
/** * Gets a list of the files in the directory represented by this file. This * list is then filtered through a FilenameFilter and files with matching * names are returned as an array of files. Returns {@code null} if this * file is not a directory. If {@code filter} is {@code null} then all * filenames match. * <p> * The entries {@code .} and {@code ..} representing the current and parent * directories are not returned as part of the list. * * @param filter * the filter to match names against, may be {@code null}. * @return an array of files or {@code null}. */ public File[] listFiles(FilenameFilter filter) { return filenamesToFiles(list(filter)); }