| java.lang.Object | |
| ↳ | com.google.gdata.client.uploader.ByteArrayUploadData |
An implementation of UploadData that provides data from a byte[].
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| buffer | |||||||||||
| stream | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the total number of bytes of data in the buffer.
| |||||||||||
Reads up to
destination.length bytes from the current position into
the destination buffer. | |||||||||||
Reads up to
length bytes into the chunk buffer. | |||||||||||
Sets the offset from the start of the the source data from which the next
read will begin. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.client.uploader.UploadData
| |||||||||||
| buffer |
|---|
Returns the total number of bytes of data in the buffer.
Reads up to destination.length bytes from the current position into
the destination buffer.
| destination |
|---|
| IOException |
|---|
Reads up to length bytes into the chunk buffer.
| chunk | |
|---|---|
| i | The start offset in the destination buffer. |
| length |
Sets the offset from the start of the the source data from which the next
read will begin.
| position |
|---|