import java.io.*; // Bir klasör içindeki dosyaları listeleyen örnek public class DirectoryTest { public static void main(String[] args) { File dir = new File("/Users/zaferteker/Private/Books"); File[] list = dir.listFiles(); for (int i = 0; i < list.length; i++) { File file = list[i]; System.out.println(file.getPath()); } } }Dosyayı İndir