public boolean isWindows() {
return Platform.isWindows();
}
public static boolean filter(RendererConfiguration render, DLNAResource res) {
NameFilter nf = instance.filter;
if (nf == null || render == null) {
return false;
}
ArrayList<String> tags = render.tags();
if (tags == null) {
return false;
}
for (String tag : tags) {
if (nf.filter(tag, res)) {
return true;
}
}
return false;