@Deprecated public abstract class MultipartFile extends Object
For an example implementation reading a file see aFileToSend in the MultipartPoster source.
| Constructor and Description |
|---|
MultipartFile()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
abstract int |
getBytes(byte[] buf)
Deprecated.
This must provide data for the file to sent.
|
int |
getSize()
Deprecated.
|
void |
open()
Deprecated.
|
public abstract int getBytes(byte[] buf)
throws IOException
buf - the buffer to copy data to,IOException - on any error.public void open()
throws IOException
IOExceptionpublic int getSize()
public void close()
Copyright © 2017 etc.to. All rights reserved.