| java.lang.Object com.meterware.httpunit.UploadFileSpec
UploadFileSpec | public class UploadFileSpec (Code) | | A description of a file to be uploaded as part of a form submission.
author: Russell Gold |
UploadFileSpec | public UploadFileSpec(File file)(Code) | | Creates a specification based on a File object. The content type will be guessed from the file extension.
|
UploadFileSpec | public UploadFileSpec(File file, String contentType)(Code) | | Creates a specification based on a File object and with a specified content type.
|
UploadFileSpec | public UploadFileSpec(String fileName, InputStream inputStream, String contentType)(Code) | | Creates a specification for an upload from an input stream. The file name and content type must be specified.
|
getContentType | public String getContentType()(Code) | | Returns the content type associated with this file upload specification.
|
|
|