Package edu.uga.galileo.voci.utilities

Examples of edu.uga.galileo.voci.utilities.URLDataSource


    ultimateType = vociTypeToUltimate.get(type);
    String url = "http://dlg.galileo.usg.edu/cgi-bin/meta.cgi?" + "dbs="
        + ultimateType + "&userid=ultimate_xml&nc=1&" + "query="
        + query + "&numrecs=" + maxNumRecs;
    URLDataSource uds = new URLDataSource();
    String result = "";

    try
    {
      result = uds.retrieveWithTimeout(url, 300000,
          "Mozilla/5.0 (CRDL; http://www.crdl.org)",
          "VOCI / cbking@uga.edu");
    }
    catch( IOException ioex )
    {
View Full Code Here

TOP

Related Classes of edu.uga.galileo.voci.utilities.URLDataSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.