コード例 #1
0
ファイル: RomCollection.java プロジェクト: chrisps/NDSEmu-32
 @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;
 }