Class FileRequestData
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.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
All Methods Instance Methods Concrete Methods 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 Detail
-
localPath
public String localPath
Local path
-
fileTargetName
public String fileTargetName
The file's target name
-
targetPath
public String targetPath
The file's target path
-
deviceType
public DeviceType deviceType
Device type
-
calcHash
public boolean calcHash
The calc hash
-
-
Constructor Detail
-
FileRequestData
public FileRequestData(String path, String targetName, DeviceType deviceType, String targetPath, boolean calcHash)
File request data- Parameters:
path
-targetName
-deviceType
-targetPath
-calcHash
-
-
-
Method Detail
-
getLocalPath
public String getLocalPath()
Description copied from interface:IFileRequestData
getLocalPath- Specified by:
getLocalPath
in interfaceIFileRequestData
- Returns:
- localPath
-
setLocalPath
public void setLocalPath(String localPath)
Description copied from interface:IFileRequestData
setLocalPath- Specified by:
setLocalPath
in interfaceIFileRequestData
-
getFileTargetName
public String getFileTargetName()
Description copied from interface:IFileRequestData
getFileTargetName- Specified by:
getFileTargetName
in interfaceIFileRequestData
- Returns:
- file target name
-
setFileTargetName
public void setFileTargetName(String fileTargetName)
Description copied from interface:IFileRequestData
setFileTargetName- Specified by:
setFileTargetName
in interfaceIFileRequestData
-
getTargetPath
public String getTargetPath()
Description copied from interface:IFileRequestData
getTargetPath- Specified by:
getTargetPath
in interfaceIFileRequestData
- Returns:
- targetPath
-
setTargetPath
public void setTargetPath(String targetPath)
Description copied from interface:IFileRequestData
setTargetPath- Specified by:
setTargetPath
in interfaceIFileRequestData
-
getDeviceType
public DeviceType getDeviceType()
Description copied from interface:IFileRequestData
getDeviceType- Specified by:
getDeviceType
in interfaceIFileRequestData
- Returns:
- deviceType
-
setDeviceType
public void setDeviceType(DeviceType deviceType)
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
-
-