diff --git a/nbactions.xml b/nbactions.xml new file mode 100644 index 0000000..9ddb08a --- /dev/null +++ b/nbactions.xml @@ -0,0 +1,32 @@ + + + + run + + jar + + + process-classes + org.codehaus.mojo:exec-maven-plugin:1.5.0:exec + + + -classpath %classpath moe.nekojimi.musicsearcher.Main + java + + + + debug + + jar + + + process-classes + org.codehaus.mojo:exec-maven-plugin:1.5.0:exec + + + -agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath moe.nekojimi.musicsearcher.Main + java + true + + + diff --git a/pom.xml b/pom.xml index 2ed5929..fda1885 100644 --- a/pom.xml +++ b/pom.xml @@ -41,5 +41,16 @@ jsoup 1.14.2 + + com.amihaiemil.web + eo-yaml + 5.2.3 + + + org.json + json + 20201115 + + MusicSearcher \ No newline at end of file diff --git a/src/main/java/moe/nekojimi/musicsearcher/providers/ApiSearcher.java b/src/main/java/moe/nekojimi/musicsearcher/providers/ApiSearcher.java new file mode 100644 index 0000000..4e3269f --- /dev/null +++ b/src/main/java/moe/nekojimi/musicsearcher/providers/ApiSearcher.java @@ -0,0 +1,30 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package moe.nekojimi.musicsearcher.providers; + +import com.amihaiemil.eoyaml.YamlMapping; +import java.util.List; +import moe.nekojimi.musicsearcher.Result; + +/** + * + * @author jim + */ +public class ApiSearcher extends Searcher +{ + + public ApiSearcher(YamlMapping yaml) + { + super(yaml); + } + + @Override + protected List doSearch(String query) + { + throw new UnsupportedOperationException("NYI"); + } + +}