public class InMemoryFileResource
extends org.springframework.core.io.ByteArrayResource
| Constructor and Description |
|---|
InMemoryFileResource(String filename,
String description,
byte[] content,
long lastModified) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFilename() |
long |
lastModified() |
contentLength, equals, exists, getByteArray, getDescription, getInputStream, hashCodepublic String getFilename()
getFilename in interface org.springframework.core.io.ResourcegetFilename in class org.springframework.core.io.AbstractResourcepublic long lastModified()
throws IOException
lastModified in interface org.springframework.core.io.ResourcelastModified in class org.springframework.core.io.AbstractResourceIOExceptionCopyright © 2018 codecentric AG. All rights reserved.