annotate src/de/mpiwg/itgroup/eSciDoc/Tools/IngestXMLFullTextCall.java @ 0:c6929e63b0b8

first import
author dwinter
date Wed, 24 Nov 2010 16:52:07 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c6929e63b0b8 first import
dwinter
parents:
diff changeset
1 package de.mpiwg.itgroup.eSciDoc.Tools;
c6929e63b0b8 first import
dwinter
parents:
diff changeset
2
c6929e63b0b8 first import
dwinter
parents:
diff changeset
3 import java.io.IOException;
c6929e63b0b8 first import
dwinter
parents:
diff changeset
4 import java.util.regex.Pattern;
c6929e63b0b8 first import
dwinter
parents:
diff changeset
5
c6929e63b0b8 first import
dwinter
parents:
diff changeset
6 import org.apache.xmlrpc.XmlRpcException;
c6929e63b0b8 first import
dwinter
parents:
diff changeset
7 import org.jdom.JDOMException;
c6929e63b0b8 first import
dwinter
parents:
diff changeset
8
c6929e63b0b8 first import
dwinter
parents:
diff changeset
9 public class IngestXMLFullTextCall {
c6929e63b0b8 first import
dwinter
parents:
diff changeset
10 public static void main(String[] args) throws Exception {
c6929e63b0b8 first import
dwinter
parents:
diff changeset
11 System.out.println("Starting VLP call2");
c6929e63b0b8 first import
dwinter
parents:
diff changeset
12 String user=args[0];
c6929e63b0b8 first import
dwinter
parents:
diff changeset
13 String password=args[1];
c6929e63b0b8 first import
dwinter
parents:
diff changeset
14
c6929e63b0b8 first import
dwinter
parents:
diff changeset
15 IngestXMLFullText ie = new IngestXMLFullText(user,password);
c6929e63b0b8 first import
dwinter
parents:
diff changeset
16 //ie.ingestECHOResources(Pattern.compile(".*/library/data/.*"));
c6929e63b0b8 first import
dwinter
parents:
diff changeset
17 ie.ingestXMLText();
c6929e63b0b8 first import
dwinter
parents:
diff changeset
18 //ie.releaseECHORessources();
c6929e63b0b8 first import
dwinter
parents:
diff changeset
19 //ArrayList<String> ret = ie.getAllResources();
c6929e63b0b8 first import
dwinter
parents:
diff changeset
20 //for (String x : ret)
c6929e63b0b8 first import
dwinter
parents:
diff changeset
21 // System.out.println(x);
c6929e63b0b8 first import
dwinter
parents:
diff changeset
22 }
c6929e63b0b8 first import
dwinter
parents:
diff changeset
23 }