public class DataFileToPropFileLinker extends Object implements DownloadListener
Describe your class here
.Constructor and Description |
---|
DataFileToPropFileLinker() |
Modifier and Type | Method and Description |
---|---|
void |
addPropFileToDataFileLink(File propFile,
ProtocolFile pFile) |
void |
addPropFileToDataFileLink(File propFile,
String remoteDataFilePath) |
void |
clear() |
void |
downloadFailed(ProtocolFile file,
String errorMsg) |
void |
downloadFinished(ProtocolFile file) |
void |
downloadStarted(ProtocolFile file) |
void |
eraseLinks(File propFile) |
LinkedList<ProtocolFile> |
getDownloadingFilesLinkedToPropFile(File propFile) |
String |
getErrors(File propFile) |
String |
getErrorsAndEraseLinks(File propFile) |
LinkedList<ProtocolFile> |
getFailedToDownloadFilesLinkedToPropFile(File propFile) |
String |
getStatusOf(File propFile) |
LinkedList<ProtocolFile> |
getSuccessfullyDownloadedFilesLinkedToPropFile(File propFile) |
void |
markAsFailed(File propFile,
String errorMsg) |
void |
markAsFailed(ProtocolFile pFile,
String errorMsg) |
void |
markAsFailed(String pFilePath,
String errorMsg) |
public void addPropFileToDataFileLink(File propFile, ProtocolFile pFile)
public void addPropFileToDataFileLink(File propFile, String remoteDataFilePath)
public void markAsFailed(ProtocolFile pFile, String errorMsg)
public void eraseLinks(File propFile)
public LinkedList<ProtocolFile> getDownloadingFilesLinkedToPropFile(File propFile)
public LinkedList<ProtocolFile> getSuccessfullyDownloadedFilesLinkedToPropFile(File propFile)
public LinkedList<ProtocolFile> getFailedToDownloadFilesLinkedToPropFile(File propFile)
public void downloadFailed(ProtocolFile file, String errorMsg)
downloadFailed
in interface DownloadListener
public void downloadFinished(ProtocolFile file)
downloadFinished
in interface DownloadListener
public void downloadStarted(ProtocolFile file)
downloadStarted
in interface DownloadListener
public void clear()
Copyright © 1999-2015 Apache OODT. All Rights Reserved.