org.apache.oodt.cas.filemgr.tools
Class ExpImpCatalog

java.lang.Object
  extended by org.apache.oodt.cas.filemgr.tools.ExpImpCatalog

public class ExpImpCatalog
extends Object

Version:
$Revision: 12226 $

A Tool to export from a source file manager catalog and import into a dest file manager catalog.

Author:
mattmann

Constructor Summary
ExpImpCatalog(String sPropFilePath, String dPropFilePath, boolean unique)
           
ExpImpCatalog(URL sUrl, URL dUrl, boolean unique)
          Default Constructor.
 
Method Summary
 void doExpImport()
           
 void doExpImport(List sourceProductTypes)
           
 boolean isEnsureUnique()
           
static void main(String[] args)
           
 void setEnsureUnique(boolean ensureUnique)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.