|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.fikin.ant.httpclientanttask.AntMultipartPostMethod.MyParam
net.sf.fikin.ant.httpclientanttask.AntMultipartPostMethod.MyParamFile
public class AntMultipartPostMethod.MyParamFile
| Constructor Summary | |
|---|---|
AntMultipartPostMethod.MyParamFile()
|
|
| Method Summary | |
|---|---|
void |
check()
check if file has been given |
org.apache.commons.httpclient.methods.multipart.PartBase |
getPartBase()
create HttpClient file-part |
void |
setContentType(java.lang.String contentType)
set file's content type (mime type) |
void |
setFile(java.io.File file)
set file to attach |
| Methods inherited from class net.sf.fikin.ant.httpclientanttask.AntMultipartPostMethod.MyParam |
|---|
getName, setCharset, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AntMultipartPostMethod.MyParamFile()
| Method Detail |
|---|
public void setFile(java.io.File file)
file - to attachpublic void setContentType(java.lang.String contentType)
contentType -
public void check()
throws org.apache.tools.ant.BuildException
check in class AntMultipartPostMethod.MyParamorg.apache.tools.ant.BuildException
public org.apache.commons.httpclient.methods.multipart.PartBase getPartBase()
throws java.io.FileNotFoundException
getPartBase in class AntMultipartPostMethod.MyParamjava.io.FileNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||