Class ArXivService


  • public class ArXivService
    extends Object
    Author:
    Andrea Bollini, Kostas Stamatis, Luigi Andrea Pascarelli, Panagiotis Koutsourakis
    • Constructor Detail

      • ArXivService

        public ArXivService()
    • Method Detail

      • setTimeout

        public void setTimeout​(int timeout)
        How long to wait for a connection to be established.
        Parameters:
        timeout - milliseconds
      • getByDOIs

        public List<gr.ekt.bte.core.Record> getByDOIs​(Set<String> dois)
                                               throws org.apache.http.HttpException,
                                                      IOException
        Throws:
        org.apache.http.HttpException
        IOException
      • searchByTerm

        public List<gr.ekt.bte.core.Record> searchByTerm​(String title,
                                                         String author,
                                                         int year)
                                                  throws org.apache.http.HttpException,
                                                         IOException
        Throws:
        org.apache.http.HttpException
        IOException
      • search

        protected List<gr.ekt.bte.core.Record> search​(String query,
                                                      String arxivid,
                                                      int max_result)
                                               throws IOException,
                                                      org.apache.http.HttpException
        Throws:
        IOException
        org.apache.http.HttpException
      • getByArXivIDs

        public gr.ekt.bte.core.Record getByArXivIDs​(String raw)
                                             throws org.apache.http.HttpException,
                                                    IOException
        Throws:
        org.apache.http.HttpException
        IOException