Refactor XattrFileMatcher

This commit is contained in:
Reinhard Pointner 2016-11-02 21:06:21 +08:00
parent 823feacae0
commit fd0f6943c4
2 changed files with 6 additions and 11 deletions

View File

@ -13,10 +13,15 @@ import net.filebot.web.Datasource;
public class XattrMetaInfoProvider implements Datasource {
@Override
public String getName() {
public String getIdentifier() {
return "xattr";
}
@Override
public String getName() {
return "Extended Attributes";
}
@Override
public Icon getIcon() {
return ResourceManager.getIcon("search.xattr");

View File

@ -13,16 +13,6 @@ import net.filebot.web.SortOrder;
public class XattrFileMatcher extends XattrMetaInfoProvider implements AutoCompleteMatcher {
@Override
public String getIdentifier() {
return "xattr";
}
@Override
public String getName() {
return "Extended Attributes";
}
@Override
public List<Match<File, ?>> match(Collection<File> files, boolean strict, SortOrder order, Locale locale, boolean autodetection, Component parent) throws Exception {
List<Match<File, ?>> matches = new ArrayList<Match<File, ?>>();