Posted By

BenClayton on 03/09/11


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Android: List files of particular type in a directory

 / Published in: Java

  1. File f = new File("folder");
  2. public boolean accept(File dir, String filename) {
  3. return filename.endsWith(filename);
  4. }
  5. };
  6. f.list(f2) (list of files)

Report this snippet  

You need to login to post a comment.