29 lines
511 B
Java
29 lines
511 B
Java
|
|
package net.sourceforge.filebot.web;
|
|
|
|
|
|
import java.net.URI;
|
|
import java.util.Collection;
|
|
import java.util.Locale;
|
|
|
|
import javax.swing.Icon;
|
|
|
|
|
|
public interface SubtitleClient {
|
|
|
|
public Collection<SearchResult> search(String query) throws Exception;
|
|
|
|
|
|
public Collection<SubtitleDescriptor> getSubtitleList(SearchResult searchResult, Locale language) throws Exception;
|
|
|
|
|
|
public URI getSubtitleListLink(SearchResult searchResult, Locale language);
|
|
|
|
|
|
public String getName();
|
|
|
|
|
|
public Icon getIcon();
|
|
|
|
}
|