org.apache.oodt.cas.filemgr.tools
Class MetadataBasedProductMover
java.lang.Object
org.apache.oodt.cas.filemgr.tools.MetadataBasedProductMover
public class MetadataBasedProductMover
- extends Object
- Version:
- $Revision: 11462 $
A tool to move products based on their metadata attributes.
- Author:
- mattmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataBasedProductMover
public MetadataBasedProductMover(String pathSpec,
String fmUrl)
throws InstantiationException
- Default constructor.
- Parameters:
pathSpec
- A path specification based on the product metadata for the
final data store location.fmUrl
- A string URL to the file manager.
- Throws:
InstantiationException
- If the passed in url is malformed.
moveProducts
public void moveProducts(ProductType type)
throws Exception
- Throws:
Exception
moveProducts
public void moveProducts(String typeName)
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Parameters:
args
-
- Throws:
Exception
Copyright © 1999-2011 Apache OODT. All Rights Reserved.