public class BytesData extends RawData
Constructor and Description |
---|
BytesData(byte[] bytes) |
BytesData(BytesData other) |
BytesData(java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
UploadDataType |
getType()
Returns
返回UploadDataType.BYTES。 UploadDataType.BYTES .
|
void |
setData(byte[] data)
Sets bytes that will be used as upload data parameter.
设置将用作上传数据参数的字节。 |
public BytesData(java.lang.String text)
public BytesData(byte[] bytes)
public BytesData(BytesData other)
public void setData(byte[] data)
data
- bytes that will be used as upload data parameter.
-将用作上传数据参数的字节。
public UploadDataType getType()
UploadDataType.BYTES
.