public abstract class FileLikePart extends PartBase
Constructor and Description |
---|
FileLikePart(String name,
String contentType,
Charset charset,
String fileName,
String contentId,
String transferEncoding)
FilePart Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFileName() |
String |
toString() |
addCustomHeader, getCharset, getContentId, getContentType, getCustomHeaders, getDispositionType, getName, getTransferEncoding, setCustomHeaders, setDispositionType
public FileLikePart(String name, String contentType, Charset charset, String fileName, String contentId, String transferEncoding)
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 idtransferEncoding
- the transfer encodingCopyright © 2021. All rights reserved.