File dir = new File("res/music/"+category);
File[] files = dir.listFiles(filter);
ArrayList<TyrelionMusic> musics = new ArrayList<TyrelionMusic>();
for (File elem : files) {
try {
musics.add(new TyrelionMusic(elem.getAbsolutePath(), category, true));
} catch (SlickException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}