Пример #1
0
 @Override
 public boolean accept(File file) {
   if (file.getName().matches(NdsRom.ZIP_PATTERN)) {
     try {
       return NdsRom.isRomArchive(new ZipFile(file));
     } catch (IOException e) {
       return false;
     }
   }
   return false;
 }