Here you can find the source of getAllFile2(String Url)
public static String[] getAllFile2(String Url)
//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; } }