public abstract class BaseUpload extends Object implements WeiXinHttpUpload
Constructor and Description |
---|
BaseUpload(FileObject fileObject) |
BaseUpload(String fileName,
FileObject fileObject) |
BaseUpload(String fileName,
FileObject fileObject,
String formName,
String content) |
Modifier and Type | Method and Description |
---|---|
String |
getContent()
获得表单内容
|
String |
getFileName()
获取构造文件名(不一定与上传文件名一致)
|
FileObject |
getFileObject()
获得文件实体
|
String |
getFormName()
获得表单名
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWeiXinKey
public BaseUpload(FileObject fileObject)
public BaseUpload(String fileName, FileObject fileObject)
public BaseUpload(String fileName, FileObject fileObject, String formName, String content)
public FileObject getFileObject()
WeiXinHttpUpload
getFileObject
in interface WeiXinHttpUpload
public String getFormName()
WeiXinHttpUpload
getFormName
in interface WeiXinHttpUpload
public String getContent()
WeiXinHttpUpload
getContent
in interface WeiXinHttpUpload
public String getFileName()
WeiXinHttpUpload
getFileName
in interface WeiXinHttpUpload
Copyright © 2006–2018 TinyGroup. All rights reserved.