0
|
1 package de.mpiwg.itgroup.eSciDoc.Tools;
|
|
2
|
|
3 import java.io.IOException;
|
|
4 import java.util.regex.Pattern;
|
|
5
|
|
6 import org.apache.xmlrpc.XmlRpcException;
|
|
7 import org.jdom.JDOMException;
|
|
8
|
|
9 public class IngestXMLFullTextCall {
|
|
10 public static void main(String[] args) throws Exception {
|
|
11 System.out.println("Starting VLP call2");
|
|
12 String user=args[0];
|
|
13 String password=args[1];
|
|
14
|
|
15 IngestXMLFullText ie = new IngestXMLFullText(user,password);
|
|
16 //ie.ingestECHOResources(Pattern.compile(".*/library/data/.*"));
|
|
17 ie.ingestXMLText();
|
|
18 //ie.releaseECHORessources();
|
|
19 //ArrayList<String> ret = ie.getAllResources();
|
|
20 //for (String x : ret)
|
|
21 // System.out.println(x);
|
|
22 }
|
|
23 }
|