public class ByteArrayMultipart extends ForestMultipart<byte[]>
contentType, fileName, name
Constructor and Description |
---|
ByteArrayMultipart() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
String |
getContentType() |
File |
getFile() |
InputStream |
getInputStream() |
String |
getOriginalFileName() |
long |
getSize() |
boolean |
isFile() |
void |
setData(byte[] data) |
getName, setContentType, setFileName, setName
public String getOriginalFileName()
getOriginalFileName
in class ForestMultipart<byte[]>
public String getContentType()
getContentType
in class ForestMultipart<byte[]>
public void setData(byte[] data)
setData
in class ForestMultipart<byte[]>
public InputStream getInputStream()
getInputStream
in class ForestMultipart<byte[]>
public long getSize()
getSize
in class ForestMultipart<byte[]>
public boolean isFile()
isFile
in class ForestMultipart<byte[]>
public File getFile()
getFile
in class ForestMultipart<byte[]>
public byte[] getBytes()
getBytes
in class ForestMultipart<byte[]>
Copyright © 2020. All rights reserved.