com.qq.connect.utils.http
类 ImageItem

java.lang.Object
  继承者 com.qq.connect.utils.http.ImageItem

public class ImageItem
extends java.lang.Object

临时保存上传的图片信息


构造方法摘要
ImageItem(byte[] content)
           
ImageItem(java.lang.String name, byte[] content)
           
 
方法摘要
 byte[] getContent()
           
 java.lang.String getContentType()
           
static java.lang.String getContentType(byte[] mapObj)
           
 java.lang.String getName()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ImageItem

public ImageItem(byte[] content)
          throws QQConnectException
抛出:
QQConnectException

ImageItem

public ImageItem(java.lang.String name,
                 byte[] content)
          throws QQConnectException
抛出:
QQConnectException
方法详细信息

getContent

public byte[] getContent()

getName

public java.lang.String getName()

getContentType

public java.lang.String getContentType()

getContentType

public static java.lang.String getContentType(byte[] mapObj)
                                       throws java.io.IOException
抛出:
java.io.IOException