public abstract class FileLikePart extends PartBase
CHARSET_BYTES, CONTENT_DISPOSITION_BYTES, CONTENT_ID_BYTES, CONTENT_TRANSFER_ENCODING_BYTES, CONTENT_TYPE_BYTES, CRLF_BYTES, EXTRA_BYTES, FORM_DATA_DISPOSITION_TYPE_BYTES, NAME_BYTES, QUOTE_BYTE| Constructor and Description |
|---|
FileLikePart(String name,
String contentType,
Charset charset,
String fileName,
String contentId,
String transfertEncoding)
FilePart Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName() |
String |
toString() |
addCustomHeader, getCharset, getContentId, getContentType, getCustomHeaders, getDispositionType, getName, getTransferEncoding, setCustomHeaders, setDispositionTypepublic FileLikePart(String name, String contentType, Charset charset, String fileName, String contentId, String transfertEncoding)
name - the name for this partcontentType - the content type for this part, if null try to figure out from the fileName mime typecharset - the charset encoding for this partfileName - the fileNamecontentId - the content idtransfertEncoding - the transfer encodingCopyright © 2017. All Rights Reserved.