public class FileRequestData extends Object implements IFileRequestData
Modifier and Type | Field and Description |
---|---|
boolean |
calcHash
The calc hash
|
DeviceType |
deviceType
Device type
|
String |
fileTargetName
The file's target name
|
String |
localPath
Local path
|
String |
targetPath
The file's target path
|
Constructor and Description |
---|
FileRequestData(String path,
String targetName,
DeviceType deviceType,
String targetPath,
boolean calcHash)
File request data
|
Modifier and Type | Method and Description |
---|---|
boolean |
getCalcHash()
getCalcHash
|
DeviceType |
getDeviceType()
getDeviceType
|
String |
getFileTargetName()
getFileTargetName
|
String |
getLocalPath()
getLocalPath
|
String |
getTargetPath()
getTargetPath
|
void |
setCalcHash(boolean calcHash)
setCalcHash
|
void |
setDeviceType(DeviceType deviceType)
setDeviceType
|
void |
setFileTargetName(String fileTargetName)
setFileTargetName
|
void |
setLocalPath(String localPath)
setLocalPath
|
void |
setTargetPath(String targetPath)
setTargetPath
|
public String localPath
public String fileTargetName
public String targetPath
public DeviceType deviceType
public boolean calcHash
public FileRequestData(String path, String targetName, DeviceType deviceType, String targetPath, boolean calcHash)
path
- targetName
- deviceType
- targetPath
- calcHash
- public String getLocalPath()
IFileRequestData
getLocalPath
in interface IFileRequestData
public void setLocalPath(String localPath)
IFileRequestData
setLocalPath
in interface IFileRequestData
public String getFileTargetName()
IFileRequestData
getFileTargetName
in interface IFileRequestData
public void setFileTargetName(String fileTargetName)
IFileRequestData
setFileTargetName
in interface IFileRequestData
public String getTargetPath()
IFileRequestData
getTargetPath
in interface IFileRequestData
public void setTargetPath(String targetPath)
IFileRequestData
setTargetPath
in interface IFileRequestData
public DeviceType getDeviceType()
IFileRequestData
getDeviceType
in interface IFileRequestData
public void setDeviceType(DeviceType deviceType)
IFileRequestData
setDeviceType
in interface IFileRequestData
public boolean getCalcHash()
IFileRequestData
getCalcHash
in interface IFileRequestData
public void setCalcHash(boolean calcHash)
IFileRequestData
setCalcHash
in interface IFileRequestData
Copyright © 2019. All rights reserved.