public abstract class FileLikePart extends PartBase
| 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 © 2019. All rights reserved.