* add common interface to all datasources

This commit is contained in:
Reinhard Pointner 2015-07-25 22:46:30 +00:00
parent bc7cf8cba0
commit 7b51f5a851
4 changed files with 14 additions and 3 deletions

View File

@ -0,0 +1,11 @@
package net.filebot.web;
import javax.swing.Icon;
public interface Datasource {
String getName();
Icon getIcon();
}

View File

@ -6,7 +6,7 @@ import java.util.Locale;
import javax.swing.Icon;
public interface EpisodeListProvider {
public interface EpisodeListProvider extends Datasource {
public String getName();

View File

@ -8,7 +8,7 @@ import java.util.Map;
import javax.swing.Icon;
public interface MovieIdentificationService {
public interface MovieIdentificationService extends Datasource {
public String getName();

View File

@ -6,7 +6,7 @@ import java.util.Map;
import javax.swing.Icon;
public interface MusicIdentificationService {
public interface MusicIdentificationService extends Datasource {
String getName();