org.apache.oodt.cas.pushpull.retrievalsystem
Class RemoteFile

java.lang.Object
  extended by org.apache.oodt.cas.pushpull.retrievalsystem.RemoteFile
All Implemented Interfaces:
RemoteFileMetKeys

public class RemoteFile
extends Object
implements RemoteFileMetKeys

Version:
$Revision$

Describe your class here

.
Author:
bfoster, mattmann

Field Summary
 
Fields inherited from interface org.apache.oodt.cas.pushpull.retrievalsystem.RemoteFileMetKeys
DATA_PROVIDER, DELETE_AFTER_DOWNLOAD, DOWNLOAD_TO_DIR, FILE_SIZE, FILENAME, MIME_TYPE, PRODUCT_NAME, PRODUCT_NAME_GENERATOR, PRODUCT_TYPE, RENAMING_STRING, RETRIEVED_FROM_LOC, SUPER_TYPE, UNIQUE_ELEMENT
 
Constructor Summary
RemoteFile(ProtocolFile pFile)
           
 
Method Summary
 void addMetadata(String key, String value)
           
 org.apache.oodt.cas.metadata.Metadata getAllMetadata()
           
 String getMetadata(String key)
           
 ProtocolFile getProtocolFile()
           
 void setUniqueMetadataElement(String uniqueMetadataElement)
           
 void writeToPropEqValFile(String filePath, String[] metadataToWriteOut)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteFile

public RemoteFile(ProtocolFile pFile)
Method Detail

setUniqueMetadataElement

public void setUniqueMetadataElement(String uniqueMetadataElement)

addMetadata

public void addMetadata(String key,
                        String value)

getMetadata

public String getMetadata(String key)

getAllMetadata

public org.apache.oodt.cas.metadata.Metadata getAllMetadata()

getProtocolFile

public ProtocolFile getProtocolFile()

writeToPropEqValFile

public void writeToPropEqValFile(String filePath,
                                 String[] metadataToWriteOut)
                          throws IOException
Throws:
IOException


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