org.apache.oodt.cas.filemgr.tools
Class ProductDumper
java.lang.Object
org.apache.oodt.cas.filemgr.tools.ProductDumper
public final class ProductDumper
- extends Object
- Version:
- $Revision: 9683 $
A simple tool to write out a .product Product
file containing product
information and Reference
s.
.
- Author:
- mattmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProductDumper
public ProductDumper(String fmUrlStr)
throws InstantiationException
- Throws:
InstantiationException
dumpProduct
public void dumpProduct(String productId)
- Dumps a
Product
in XML format identified by the given
productId
. The Product
XML is written to the
local directory .
, where this program was invoked from.
- Parameters:
productId
- The string identifier of the product to dump Product
info from.
dumpProduct
public void dumpProduct(String productId,
String outDirPath)
- Dumps a
Product
in XML format identified by the given
productId
. The Product
XML is written to the
specified outDirPath
.
- Parameters:
productId
- The string identifier of the product to dump Product
info from.outDirPath
- The path on the local filesystem to write the Product
xml file to.
main
public static void main(String[] args)
throws Exception
- Parameters:
args
-
- Throws:
Exception
Copyright © 1999-2011 Apache OODT. All Rights Reserved.