fedora.client.utility
Class AutoPurger

java.lang.Object
  extended by fedora.client.utility.AutoPurger

public class AutoPurger
extends java.lang.Object

Title: AutoPurger.java

Description:

Version:
$Id: AutoPurger.java 4423 2005-09-16 21:26:40Z payette $
Author:
cwilper@cs.cornell.edu

Constructor Summary
AutoPurger(FedoraAPIM apim)
           
 
Method Summary
static void main(java.lang.String[] args)
           
static void purge(FedoraAPIM skeleton, java.lang.String pid, java.lang.String logMessage, boolean force)
           
 void purge(java.lang.String pid, java.lang.String logMessage, boolean force)
           
static void showUsage(java.lang.String msg)
          Print error message and show usage for command-line interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoPurger

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

purge

public void purge(java.lang.String pid,
                  java.lang.String logMessage,
                  boolean force)
           throws java.rmi.RemoteException,
                  java.io.IOException
Throws:
java.rmi.RemoteException
java.io.IOException

purge

public static void purge(FedoraAPIM skeleton,
                         java.lang.String pid,
                         java.lang.String logMessage,
                         boolean force)
                  throws java.rmi.RemoteException,
                         java.io.IOException
Throws:
java.rmi.RemoteException
java.io.IOException

showUsage

public static void showUsage(java.lang.String msg)
Print error message and show usage for command-line interface.


main

public static void main(java.lang.String[] args)