com.ning.http.multipart
Class MultipartEncodingUtil

java.lang.Object
  extended by com.ning.http.multipart.MultipartEncodingUtil

public class MultipartEncodingUtil
extends Object

This class is an adaptation of the Apache HttpClient implementation


Constructor Summary
MultipartEncodingUtil()
           
 
Method Summary
static byte[] getAsciiBytes(String data)
           
static String getAsciiString(byte[] data)
           
static byte[] getBytes(String data, String charset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipartEncodingUtil

public MultipartEncodingUtil()
Method Detail

getAsciiBytes

public static byte[] getAsciiBytes(String data)

getAsciiString

public static String getAsciiString(byte[] data)

getBytes

public static byte[] getBytes(String data,
                              String charset)


Copyright © 2011. All Rights Reserved.