org.apache.oodt.cas.pge.writers
Class PcsMetFileWriter

java.lang.Object
  extended by org.apache.oodt.cas.pge.writers.PcsMetFileWriter
Direct Known Subclasses:
ExternExtractorMetWriter, FilenameExtractorWriter, MetadataListPcsMetFileWriter

public abstract class PcsMetFileWriter
extends java.lang.Object

Version:
$Revision$

Writes a PCS metadata file for the give data file

.
Author:
bfoster

Field Summary
static java.lang.String FILE_SIZE
           
 
Constructor Summary
PcsMetFileWriter()
           
 
Method Summary
 Metadata getMetadataForFile(java.io.File sciPgeCreatedDataFile, PgeMetadata pgeMetadata, java.lang.Object... customArgs)
           
protected abstract  Metadata getSciPgeSpecificMetadata(java.io.File sciPgeCreatedDataFile, Metadata inputMetadata, java.lang.Object... customArgs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_SIZE

public static final java.lang.String FILE_SIZE
See Also:
Constant Field Values
Constructor Detail

PcsMetFileWriter

public PcsMetFileWriter()
Method Detail

getMetadataForFile

public Metadata getMetadataForFile(java.io.File sciPgeCreatedDataFile,
                                   PgeMetadata pgeMetadata,
                                   java.lang.Object... customArgs)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getSciPgeSpecificMetadata

protected abstract Metadata getSciPgeSpecificMetadata(java.io.File sciPgeCreatedDataFile,
                                                      Metadata inputMetadata,
                                                      java.lang.Object... customArgs)
                                               throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 1999-2011
Apache OODT. All Rights Reserved.