Refactor XattrFileMatcher
This commit is contained in:
parent
823feacae0
commit
fd0f6943c4
|
@ -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");
|
||||
|
|
|
@ -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, ?>>();
|
||||
|
|
Loading…
Reference in New Issue