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