com.ning.http.client
Class FilePart
java.lang.Object
com.ning.http.client.FilePart
- All Implemented Interfaces:
- Part
public class FilePart
- extends java.lang.Object
- implements Part
A file multipart part.
Constructor Summary |
FilePart(java.lang.String name,
java.io.File file,
java.lang.String mimeType,
java.lang.String charSet)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilePart
public FilePart(java.lang.String name,
java.io.File file,
java.lang.String mimeType,
java.lang.String charSet)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Part
getFile
public java.io.File getFile()
getMimeType
public java.lang.String getMimeType()
getCharSet
public java.lang.String getCharSet()
Copyright © 2010. All Rights Reserved.