fedora.client.utility.ingest
Class AutoIngestor

java.lang.Object
  extended by fedora.client.utility.ingest.AutoIngestor

public class AutoIngestor
extends java.lang.Object

Title: AutoIngestor.java

Description: Utility class to make API-M SOAP calls to ingest objects into the repository.

Version:
$Id: AutoIngestor.java 5166 2006-10-25 11:05:45Z eddie $
Author:
cwilper@cs.cornell.edu

Constructor Summary
AutoIngestor(FedoraAPIA apia, FedoraAPIM apim)
           
 
Method Summary
static java.lang.String ingestAndCommit(FedoraAPIA apia, FedoraAPIM apim, java.io.InputStream in, java.lang.String logMessage)
           
static java.lang.String ingestAndCommit(FedoraAPIA apia, FedoraAPIM apim, java.io.InputStream in, java.lang.String ingestFormat, java.lang.String logMessage)
           
 java.lang.String ingestAndCommit(java.io.InputStream in, java.lang.String logMessage)
           
 java.lang.String ingestAndCommit(java.io.InputStream in, java.lang.String ingestFormat, java.lang.String logMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoIngestor

public AutoIngestor(FedoraAPIA apia,
                    FedoraAPIM apim)
             throws java.net.MalformedURLException,
                    javax.xml.rpc.ServiceException
Throws:
java.net.MalformedURLException
javax.xml.rpc.ServiceException
Method Detail

ingestAndCommit

public java.lang.String ingestAndCommit(java.io.InputStream in,
                                        java.lang.String logMessage)
                                 throws java.rmi.RemoteException,
                                        java.io.IOException
Throws:
java.rmi.RemoteException
java.io.IOException

ingestAndCommit

public static java.lang.String ingestAndCommit(FedoraAPIA apia,
                                               FedoraAPIM apim,
                                               java.io.InputStream in,
                                               java.lang.String logMessage)
                                        throws java.rmi.RemoteException,
                                               java.io.IOException
Throws:
java.rmi.RemoteException
java.io.IOException

ingestAndCommit

public java.lang.String ingestAndCommit(java.io.InputStream in,
                                        java.lang.String ingestFormat,
                                        java.lang.String logMessage)
                                 throws java.rmi.RemoteException,
                                        java.io.IOException
Throws:
java.rmi.RemoteException
java.io.IOException

ingestAndCommit

public static java.lang.String ingestAndCommit(FedoraAPIA apia,
                                               FedoraAPIM apim,
                                               java.io.InputStream in,
                                               java.lang.String ingestFormat,
                                               java.lang.String logMessage)
                                        throws java.rmi.RemoteException,
                                               java.io.IOException
Throws:
java.rmi.RemoteException
java.io.IOException