com.ning.http.client
Class ByteArrayPart

java.lang.Object
  extended by com.ning.http.client.ByteArrayPart
All Implemented Interfaces:
Part

public class ByteArrayPart
extends Object
implements Part


Constructor Summary
ByteArrayPart(String name, String fileName, byte[] data, String mimeType, String charSet)
           
 
Method Summary
 String getCharSet()
           
 byte[] getData()
           
 String getFileName()
           
 String getMimeType()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayPart

public ByteArrayPart(String name,
                     String fileName,
                     byte[] data,
                     String mimeType,
                     String charSet)
Method Detail

getName

public String getName()
Specified by:
getName in interface Part

getFileName

public String getFileName()

getData

public byte[] getData()

getMimeType

public String getMimeType()

getCharSet

public String getCharSet()


Copyright © 2011. All Rights Reserved.