|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.meterware.httpunit.UploadFileSpec
A description of a file to be uploaded as part of a form submission.
Constructor Summary | |
---|---|
UploadFileSpec(java.io.File file)
Creates a specification based on a File object. |
|
UploadFileSpec(java.io.File file,
java.lang.String contentType)
Creates a specification based on a File object and with a specified content type. |
|
UploadFileSpec(java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String contentType)
Creates a specification for an upload from an input stream. |
Method Summary | |
---|---|
java.lang.String |
getContentType()
Returns the content type associated with this file upload specification. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UploadFileSpec(java.io.File file)
public UploadFileSpec(java.io.File file, java.lang.String contentType)
public UploadFileSpec(java.lang.String fileName, java.io.InputStream inputStream, java.lang.String contentType)
Method Detail |
public java.lang.String getContentType()
|
Copyright © 2000-2004 Russell Gold. See license agreement for rights granted. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |