au.edu.swin.synergy.plugin.repository.event
Class BGetFilesCE
java.lang.Object
|
+--java.util.EventObject
|
+--au.edu.swin.synergy.kernel.BCommandEvent
|
+--au.edu.swin.synergy.plugin.repository.event.BRepositoryCE
|
+--au.edu.swin.synergy.plugin.repository.event.BFileXferCE
|
+--au.edu.swin.synergy.plugin.repository.event.BGetFilesCE
- public class BGetFilesCE
- extends BFileXferCE
Gets multiple files
- Author:
- Shane Fitzgibbon
- See Also:
- Serialized Form
Fields inherited from class au.edu.swin.synergy.plugin.repository.event.BRepositoryCE |
error,
fileName,
kErrorAccessDenied,
kErrorConflict,
kErrorFileCorrupt,
kErrorFileNotFound,
kErrorInvalidFileName,
kErrorNoError,
kErrorSpecifiedVersionDoesNotExist,
kErrorSpecifiedVersionShouldNotExist,
metaData |
Methods inherited from class au.edu.swin.synergy.kernel.BCommandEvent |
decrementThreadCount,
doComplete,
doInit,
getAutoComplete,
getCompletionObject,
getCompletionStatus,
getConnectionID,
getIndex,
getNetworkStatus,
getPipe,
getUndoable,
setAutoComplete,
setCompletionObject,
setCompletionStatus,
setConnectionID,
setIndex,
setNetworkStatus,
setPipe,
setThreadCount,
setUndoable |
BGetFilesCE
public BGetFilesCE(Object source,
String fDirName,
BCommandComplete complete)
- Recursively gets all the files in a directory
setVersion
public void setVersion(int index,
int fVersion)
- sets which version no of a file to get
getVersion
public int getVersion(int index)
- Gets the version no requested for a file
addData
public void addData(BFile data,
BMetaData fMetaData,
String filename)
- adds a new file to the event
addData
public void addData(BFile data,
BMetaData fMetaData,
int fVersion,
String filename)
- adds a new file to the event
getData
public BFile getData(int index)
- Gets a BData file form the event
getMetaData
public BMetaData getMetaData(int index)
- Gets BMetaData from the event
getFileName
public String getFileName(int index)
- Gets a filename form the event
addError
public void addError(int error)
getError
public int getError(int index)
getFileCount
public int getFileCount()