Java Directory to File List getAllFile2(String Url)

Here you can find the source of getAllFile2(String Url)

Description

get All File

License

Apache License

Declaration

public static String[] getAllFile2(String Url) 

Method Source Code

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

import java.io.File;

public class Main {

    public static String[] getAllFile2(String Url) {
        File path = new File(Url);
        String[] list;/*from  w w  w .j a  va  2 s . c om*/
        list = path.list();
        return list;
    }
}

Related

  1. getAllFile(File directory, boolean descendIntoSubDirectories, String endofFile, String hiddenFileSuffix)
  2. getAllFile(List list, File rootFile)
  3. getAllFileFromPath(File file, List fileList, String ed)
  4. getAllFileName(String path)
  5. GetAllFileName(String path)
  6. getAllFileName(String path, ArrayList fileName)