12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- package com.rdlze.radializebase.interfaces;
- import java.io.IOException;
- import javax.xml.parsers.ParserConfigurationException;
- import org.xml.sax.SAXException;
- import com.rdlze.radializeutils.objects.BigTitleResp;
- import com.rdlze.radializeutils.objects.MBResp;
- public class MusicBrainzControllerMock implements
- InterfaceMusicBrainzController {
- @Override
- public BigTitleResp searchBigTitle(String bigTitle, int nGramSize,
- int numResults, boolean shallContainResp) throws IOException {
- if(bigTitle!=null && bigTitle.toLowerCase().equals("black sabbath paranoid"))
- return new BigTitleResp("Black Sabbath", "Paranoid");
- return new BigTitleResp("", "");
- }
- @Override
- public MBResp searchBigTitle(String bigTitle, int nGramSize)
- throws IOException, ParserConfigurationException, SAXException,
- InterruptedException {
- // TODO Auto-generated method stub
- return null;
- }
- @Override
- public MBResp searchArtSong(String artist, String song,
- boolean proximitySearch, int limit, int offset, String hostMB)
- throws ParserConfigurationException, SAXException, IOException,
- InterruptedException {
- // TODO Auto-generated method stub
- return null;
- }
- @Override
- public MBResp searchArtSong(String artist, String song,
- boolean proximitySearch, int limit) throws IOException {
- // TODO Auto-generated method stub
- return null;
- }
- }
|