Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
Public Methods
Uploads an entire file.
| Parameters |
file |
File: The file to upload |
Uploads the contents of data
| Parameters |
data |
byte: Array containing data to upload |
Uploads a ByteBuffer, from the current buffer.position() to buffer.limit()
| Parameters |
buffer |
ByteBuffer: The data to upload |
public
static
UploadDataProvider
create
(byte[] data, int offset, int length)
Uploads length bytes from data, starting from offset
| Parameters |
data |
byte: Array containing data to upload |
offset |
int: Offset within data to start with |
length |
int: Number of bytes to upload |
Uploads an entire file, closing the descriptor when it is no longer needed.
| Parameters |
fd |
ParcelFileDescriptor: The file descriptor to upload |