generated from Nekojimi/JavaMavenTemplate
parent
68869a149e
commit
d82b54ccf2
@ -0,0 +1,32 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<actions> |
||||
<action> |
||||
<actionName>run</actionName> |
||||
<packagings> |
||||
<packaging>jar</packaging> |
||||
</packagings> |
||||
<goals> |
||||
<goal>process-classes</goal> |
||||
<goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal> |
||||
</goals> |
||||
<properties> |
||||
<exec.args>-classpath %classpath moe.nekojimi.musicsearcher.Main</exec.args> |
||||
<exec.executable>java</exec.executable> |
||||
</properties> |
||||
</action> |
||||
<action> |
||||
<actionName>debug</actionName> |
||||
<packagings> |
||||
<packaging>jar</packaging> |
||||
</packagings> |
||||
<goals> |
||||
<goal>process-classes</goal> |
||||
<goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal> |
||||
</goals> |
||||
<properties> |
||||
<exec.args>-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath moe.nekojimi.musicsearcher.Main</exec.args> |
||||
<exec.executable>java</exec.executable> |
||||
<jpda.listen>true</jpda.listen> |
||||
</properties> |
||||
</action> |
||||
</actions> |
@ -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<Result> doSearch(String query) |
||||
{ |
||||
throw new UnsupportedOperationException("NYI"); |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue