| java.lang.Object | |
| ↳ | com.ning.http.multipart.FilePartSource |
This class is an adaptation of the Apache HttpClient implementationhttp://hc.apache.org/httpclient-3.x/
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for FilePartSource.
| |||||||||||
Constructor for FilePartSource.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return a new java.io.FileInputStream for the current filename.
| |||||||||||
Return the current filename
| |||||||||||
Return the length of the file
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.ning.http.multipart.PartSource
| |||||||||||
Constructor for FilePartSource.
| file | the FilePart source File. |
|---|
| FileNotFoundException | if the file does not exist or cannot be read |
|---|
Constructor for FilePartSource.
| fileName | the file name of the FilePart |
|---|---|
| file | the source File for the FilePart |
| FileNotFoundException | if the file does not exist or cannot be read |
|---|
Return a new java.io.FileInputStream for the current filename.
| IOException | If an IO problem occurs. |
|---|