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

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

public class MetadataBasedProductMover
extends Object

Version:
$Revision: 13181 $

A tool to move products based on their metadata attributes.

Author:
mattmann

Constructor Summary
MetadataBasedProductMover(String pathSpec, String fmUrl)
          Default constructor.
 
Method Summary
static void main(String[] args)
           
 void moveProducts(ProductType type)
           
 void moveProducts(String typeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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

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.