annotate src/de/mpiwg/itgroup/eSciDoc/Tools/IngestVLPCall.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.ArrayList;
c6929e63b0b8 first import
dwinter
parents:
diff changeset
5 import java.util.regex.Pattern;
c6929e63b0b8 first import
dwinter
parents:
diff changeset
6
c6929e63b0b8 first import
dwinter
parents:
diff changeset
7 import org.apache.xmlrpc.XmlRpcException;
c6929e63b0b8 first import
dwinter
parents:
diff changeset
8 import org.jdom.JDOMException;
c6929e63b0b8 first import
dwinter
parents:
diff changeset
9
c6929e63b0b8 first import
dwinter
parents:
diff changeset
10 public class IngestVLPCall {
c6929e63b0b8 first import
dwinter
parents:
diff changeset
11
c6929e63b0b8 first import
dwinter
parents:
diff changeset
12 /**
c6929e63b0b8 first import
dwinter
parents:
diff changeset
13 * @param args
c6929e63b0b8 first import
dwinter
parents:
diff changeset
14 * @throws IOException
c6929e63b0b8 first import
dwinter
parents:
diff changeset
15 * @throws JDOMException
c6929e63b0b8 first import
dwinter
parents:
diff changeset
16 * @throws XmlRpcException
c6929e63b0b8 first import
dwinter
parents:
diff changeset
17 */
c6929e63b0b8 first import
dwinter
parents:
diff changeset
18 public static void main(String[] args) throws IOException, XmlRpcException, JDOMException {
c6929e63b0b8 first import
dwinter
parents:
diff changeset
19 System.out.println("Starting VLP call2");
c6929e63b0b8 first import
dwinter
parents:
diff changeset
20 String user=args[0];
c6929e63b0b8 first import
dwinter
parents:
diff changeset
21 String password=args[1];
c6929e63b0b8 first import
dwinter
parents:
diff changeset
22
c6929e63b0b8 first import
dwinter
parents:
diff changeset
23 IngestECHO ie = new IngestVLP(user,password);
c6929e63b0b8 first import
dwinter
parents:
diff changeset
24 ie.ingestECHOResources(Pattern.compile(".*/library/data/.*"));
c6929e63b0b8 first import
dwinter
parents:
diff changeset
25 //ie.releaseECHORessources();
c6929e63b0b8 first import
dwinter
parents:
diff changeset
26 //ArrayList<String> ret = ie.getAllResources();
c6929e63b0b8 first import
dwinter
parents:
diff changeset
27 //for (String x : ret)
c6929e63b0b8 first import
dwinter
parents:
diff changeset
28 // System.out.println(x);
c6929e63b0b8 first import
dwinter
parents:
diff changeset
29 }
c6929e63b0b8 first import
dwinter
parents:
diff changeset
30
c6929e63b0b8 first import
dwinter
parents:
diff changeset
31 }