private File[] getJpgFiles(File f){
File[] files = f.listFiles(new FilenameFilter(){
@Override
public boolean accept(File dir, String filename) {
return filename.toLowerCase().endsWith(".jpg");
}});
return files;
}
Senin, 31 Maret 2014
List files in directory with specified type
Posted on 21.01 by siawa
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar