cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.functions
Class DownloadResponseImpl

java.lang.Object
  extended by cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.functions.BoxResponseImpl
      extended by 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

Field Summary
 
Fields inherited from class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.functions.BoxResponseImpl
status
 
Constructor Summary
DownloadResponseImpl()
           
 
Method Summary
 java.io.File getOutFile()
           
 byte[] getRawData()
           
 boolean isAsFile()
           
 void setAsFile(boolean asFile)
           
 void setOutFile(java.io.File outFile)
           
 void setRawData(byte[] rawData)
           
 
Methods inherited from class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.functions.BoxResponseImpl
getStatus, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cn.com.believer.songyuanframework.openapi.storage.box.functions.BoxResponse
getStatus, setStatus
 

Constructor Detail

DownloadResponseImpl

public DownloadResponseImpl()
Method Detail

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