org.stanwood.media.search
Interface IMediaSearcher
- All Known Implementing Classes:
- AbstractMediaSearcher, FilmSearcher, ShowSearcher
public interface IMediaSearcher
This should be implemented by classes that can search for media
search
SearchResult search(java.io.File mediaFile,
MediaDirectory mediaDir,
boolean useSources)
throws java.net.MalformedURLException,
java.io.IOException,
SourceException,
StoreException
- Used to search for a media id
- Parameters:
mediaFile
- The episode file been processedmediaDir
- The root media directoryuseSources
- True to search sources, otherwise will only use stores
- Returns:
- The results of the search, or null if nothing could be found
- Throws:
java.net.MalformedURLException
- Thrown if their is a problem construction URL's
java.io.IOException
- Thrown if their is a IO problem
SourceException
- Thrown if their are any source problems
StoreException
- Thrown if their is a problem related to stores