File dir = new File("directoryName");
String[] children = dir.list();
if (children == null) {
//nicht vorhanden
} else {
for (int i=0; i<children.length; i++) {
String filename = children[i];
}
}