public abstract class FileLikePart extends PartBase
Constructor and Description |
---|
FileLikePart(java.lang.String name,
java.lang.String contentType,
java.nio.charset.Charset charset,
java.lang.String fileName,
java.lang.String contentId,
java.lang.String transfertEncoding)
FilePart Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFileName() |
java.lang.String |
toString() |
addCustomHeader, getCharset, getContentId, getContentType, getCustomHeaders, getDispositionType, getName, getTransferEncoding, setCustomHeaders, setDispositionType
public FileLikePart(java.lang.String name, java.lang.String contentType, java.nio.charset.Charset charset, java.lang.String fileName, java.lang.String contentId, java.lang.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 © 2018. All Rights Reserved.