public class ArXivService extends Object
| Constructor and Description |
|---|
ArXivService() |
| Modifier and Type | Method and Description |
|---|---|
gr.ekt.bte.core.Record |
getByArXivIDs(String raw) |
List<gr.ekt.bte.core.Record> |
getByDOIs(Set<String> dois) |
protected List<gr.ekt.bte.core.Record> |
search(String query,
String arxivid,
int max_result) |
List<gr.ekt.bte.core.Record> |
searchByTerm(String title,
String author,
int year) |
void |
setTimeout(int timeout)
How long to wait for a connection to be established.
|
public void setTimeout(int timeout)
timeout - millisecondspublic List<gr.ekt.bte.core.Record> getByDOIs(Set<String> dois) throws org.apache.http.HttpException, IOException
org.apache.http.HttpExceptionIOExceptionpublic List<gr.ekt.bte.core.Record> searchByTerm(String title, String author, int year) throws org.apache.http.HttpException, IOException
org.apache.http.HttpExceptionIOExceptionprotected List<gr.ekt.bte.core.Record> search(String query, String arxivid, int max_result) throws IOException, org.apache.http.HttpException
IOExceptionorg.apache.http.HttpExceptionpublic gr.ekt.bte.core.Record getByArXivIDs(String raw) throws org.apache.http.HttpException, IOException
org.apache.http.HttpExceptionIOExceptionCopyright © 2016 DuraSpace. All Rights Reserved.