project_files/Android-build/SDL-android-project/src/org/hedgewars/mobile/Utils.java
branchhedgeroid
changeset 5428 5d0c5f7a9339
parent 5414 34663c4743f7
child 5473 a68f900c4e8c
equal deleted inserted replaced
5424:0627ac9bd878 5428:5d0c5f7a9339
    66 			for(String s : f.list()){
    66 			for(String s : f.list()){
    67 				if(s.endsWith(suffix)) return true;
    67 				if(s.endsWith(suffix)) return true;
    68 			}
    68 			}
    69 			return false;
    69 			return false;
    70 		}else{
    70 		}else{
    71 			throw new IllegalArgumentException("Not a directory.. f = " + f.getAbsolutePath());
    71 			return false;
    72 		}
    72 		}
    73 	}
    73 	}
    74 	
    74 	
    75 	public static String[] getDirsWithFileSuffix(Context c, String path, String fileSuffix){
    75 	public static String[] getDirsWithFileSuffix(Context c, String path, String fileSuffix){
    76 		File[] files = getFilesFromRelativeDir(c,path);
    76 		File[] files = getFilesFromRelativeDir(c,path);