public class LocalDataTransferer extends Object implements DataTransfer
          An implementation of the DataTransfer interface that moves
          products that are available via URIs on the same machine, through an
          NFS mounted disk, or via the locally mounted file repository.
          
X_POINT_ID| Constructor and Description | 
|---|
| LocalDataTransferer()
 Default Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| void | deleteProduct(Product product) | 
| static void | main(String[] args) | 
| void | retrieveProduct(Product product,
               File directory)Requires that the data store reference be set, nothing else is used | 
| void | setFileManagerUrl(URL url) | 
| void | transferProduct(Product product) | 
public void setFileManagerUrl(URL url)
setFileManagerUrl in interface DataTransferurl - The URL to the File Manager that this transferer will be
 transferring Products to.public void transferProduct(Product product) throws DataTransferException, IOException
transferProduct in interface DataTransferproduct - The product that is being transferred. The product should have
            both its origFileLocation, as well as its dataStoreRefs filled
            in to perform the transfer.DataTransferException - If a general error occurs during the transfer.IOException - If there is an IO eerror when performing the transfer.public void retrieveProduct(Product product, File directory) throws DataTransferException, IOException
DataTransferretrieveProduct in interface DataTransferproduct - The product whose data store reference will be copieddirectory - The directory where the data store reference will be copied toDataTransferException - If a general error occurs during the transfer.IOException - If there is an IO eerror when performing the transfer.public void deleteProduct(Product product) throws DataTransferException, IOException
deleteProduct in interface DataTransferDataTransferExceptionIOExceptionpublic static void main(String[] args) throws DataTransferException, IOException, URISyntaxException
args - DataTransferExceptionIOExceptionURISyntaxExceptionCopyright © 1999–2017 Apache OODT. All rights reserved.