public class ExpImpCatalog extends Object
A Tool to export from a source file manager catalog and import into a dest file manager catalog.
Constructor and Description |
---|
ExpImpCatalog(String sPropFilePath,
String dPropFilePath,
boolean unique) |
ExpImpCatalog(URL sUrl,
URL dUrl,
boolean unique)
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
doExpImport() |
void |
doExpImport(List sourceProductTypes) |
boolean |
isEnsureUnique() |
static void |
main(String[] args) |
void |
setEnsureUnique(boolean ensureUnique) |
public ExpImpCatalog(URL sUrl, URL dUrl, boolean unique)
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.public ExpImpCatalog(String sPropFilePath, String dPropFilePath, boolean unique) throws InstantiationException
InstantiationException
public void doExpImport(List sourceProductTypes) throws FileManagerException, RepositoryManagerException, CatalogException
public void doExpImport() throws RepositoryManagerException, FileManagerException, CatalogException
public boolean isEnsureUnique()
public void setEnsureUnique(boolean ensureUnique)
ensureUnique
- The ensureUnique to set.public static void main(String[] args) throws RepositoryManagerException, FileManagerException, MalformedURLException, InstantiationException, CatalogException
args
- RepositoryManagerException
FileManagerException
MalformedURLException
InstantiationException
CatalogException
Copyright © 1999–2017 Apache OODT. All rights reserved.