org.fcrepo.client.utility
Class AutoPurger
java.lang.Object
org.fcrepo.client.utility.AutoPurger
public class AutoPurger
- extends Object
- Author:
- Chris Wilper
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoPurger
public AutoPurger(FedoraAPIMMTOM apim)
throws MalformedURLException,
javax.xml.rpc.ServiceException
- Throws:
MalformedURLException
javax.xml.rpc.ServiceException
purge
public void purge(String pid,
String logMessage)
throws RemoteException,
IOException
- Throws:
RemoteException
IOException
purgeFromList
public void purgeFromList(File pFile,
String logMessage)
throws RemoteException,
IOException
- Throws:
RemoteException
IOException
purgeFromList
public static void purgeFromList(FedoraAPIMMTOM skeleton,
File pFile,
String logMessage)
purge
public static void purge(FedoraAPIMMTOM skeleton,
String pid,
String logMessage)
throws RemoteException,
IOException
- Throws:
RemoteException
IOException
showUsage
public static void showUsage(String msg)
- Print error message and show usage for command-line interface.
main
public static void main(String[] args)
Copyright © 2012 DuraSpace. All Rights Reserved.