org.apache.oodt.cas.filemgr.tools
Class ExpImpCatalog
java.lang.Object
org.apache.oodt.cas.filemgr.tools.ExpImpCatalog
public class ExpImpCatalog
- extends Object
- Version:
- $Revision: 13181 $
A Tool to export from a source file manager catalog and import into a dest
file manager catalog.
- Author:
- mattmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpImpCatalog
public ExpImpCatalog(URL sUrl,
URL dUrl,
boolean unique)
- Default Constructor.
- Parameters:
sUrl
- The url to the source file manager to export from.dUrl
- The url to the dest file manager to import into.unique
- Whether or not the import tool should ensure that the product
from the source does not exist in the dest.
ExpImpCatalog
public ExpImpCatalog(String sPropFilePath,
String dPropFilePath,
boolean unique)
throws InstantiationException
- Throws:
InstantiationException
doExpImport
public void doExpImport(List sourceProductTypes)
throws Exception
- Throws:
Exception
doExpImport
public void doExpImport()
throws Exception
- Throws:
Exception
isEnsureUnique
public boolean isEnsureUnique()
- Returns:
- Returns the ensureUnique.
setEnsureUnique
public void setEnsureUnique(boolean ensureUnique)
- Parameters:
ensureUnique
- The ensureUnique to set.
main
public static void main(String[] args)
throws Exception
- Parameters:
args
-
- Throws:
Exception
Copyright © 1999-2011 Apache OODT. All Rights Reserved.