cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.functions
Class DownloadResponseImpl
java.lang.Object
cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.functions.BoxResponseImpl
cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.functions.DownloadResponseImpl
- All Implemented Interfaces:
- BoxResponse, DownloadResponse
public class DownloadResponseImpl
- extends BoxResponseImpl
- implements DownloadResponse
- Author:
- Jimmy
Fields inherited from class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.functions.BoxResponseImpl |
status |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloadResponseImpl
public DownloadResponseImpl()
isAsFile
public boolean isAsFile()
- Specified by:
isAsFile
in interface DownloadResponse
- Returns:
- the asFile
setAsFile
public void setAsFile(boolean asFile)
- Specified by:
setAsFile
in interface DownloadResponse
- Parameters:
asFile
- the asFile to set
getRawData
public byte[] getRawData()
- Specified by:
getRawData
in interface DownloadResponse
- Returns:
- the rawData
setRawData
public void setRawData(byte[] rawData)
- Specified by:
setRawData
in interface DownloadResponse
- Parameters:
rawData
- the rawData to set
getOutFile
public java.io.File getOutFile()
- Specified by:
getOutFile
in interface DownloadResponse
- Returns:
- the outFile
setOutFile
public void setOutFile(java.io.File outFile)
- Specified by:
setOutFile
in interface DownloadResponse
- Parameters:
outFile
- the outFile to set