Class FileRequestData
java.lang.Object
com.blackberry.workspaces.sdk.api.FileRequestData
- All Implemented Interfaces:
IFileRequestData
public class FileRequestData extends Object implements IFileRequestData
-
Field Summary
Fields Modifier and Type Field Description boolean
calcHash
The calc hashDeviceType
deviceType
Device typeString
fileTargetName
The file's target nameString
localPath
Local pathString
targetPath
The file's target path -
Constructor Summary
Constructors Constructor Description FileRequestData(String path, String targetName, DeviceType deviceType, String targetPath, boolean calcHash)
File request data -
Method Summary
Modifier and Type Method Description boolean
getCalcHash()
getCalcHashDeviceType
getDeviceType()
getDeviceTypeString
getFileTargetName()
getFileTargetNameString
getLocalPath()
getLocalPathString
getTargetPath()
getTargetPathvoid
setCalcHash(boolean calcHash)
setCalcHashvoid
setDeviceType(DeviceType deviceType)
setDeviceTypevoid
setFileTargetName(String fileTargetName)
setFileTargetNamevoid
setLocalPath(String localPath)
setLocalPathvoid
setTargetPath(String targetPath)
setTargetPath
-
Field Details
-
localPath
Local path -
fileTargetName
The file's target name -
targetPath
The file's target path -
deviceType
Device type -
calcHash
public boolean calcHashThe calc hash
-
-
Constructor Details
-
FileRequestData
public FileRequestData(String path, String targetName, DeviceType deviceType, String targetPath, boolean calcHash)File request data- Parameters:
path
-targetName
-deviceType
-targetPath
-calcHash
-
-
-
Method Details
-
getLocalPath
Description copied from interface:IFileRequestData
getLocalPath- Specified by:
getLocalPath
in interfaceIFileRequestData
- Returns:
- localPath
-
setLocalPath
Description copied from interface:IFileRequestData
setLocalPath- Specified by:
setLocalPath
in interfaceIFileRequestData
-
getFileTargetName
Description copied from interface:IFileRequestData
getFileTargetName- Specified by:
getFileTargetName
in interfaceIFileRequestData
- Returns:
- file target name
-
setFileTargetName
Description copied from interface:IFileRequestData
setFileTargetName- Specified by:
setFileTargetName
in interfaceIFileRequestData
-
getTargetPath
Description copied from interface:IFileRequestData
getTargetPath- Specified by:
getTargetPath
in interfaceIFileRequestData
- Returns:
- targetPath
-
setTargetPath
Description copied from interface:IFileRequestData
setTargetPath- Specified by:
setTargetPath
in interfaceIFileRequestData
-
getDeviceType
Description copied from interface:IFileRequestData
getDeviceType- Specified by:
getDeviceType
in interfaceIFileRequestData
- Returns:
- deviceType
-
setDeviceType
Description copied from interface:IFileRequestData
setDeviceType- Specified by:
setDeviceType
in interfaceIFileRequestData
-
getCalcHash
public boolean getCalcHash()Description copied from interface:IFileRequestData
getCalcHash- Specified by:
getCalcHash
in interfaceIFileRequestData
- Returns:
- calcHash
-
setCalcHash
public void setCalcHash(boolean calcHash)Description copied from interface:IFileRequestData
setCalcHash- Specified by:
setCalcHash
in interfaceIFileRequestData
-