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