public class ByteArrayResource
extends org.springframework.core.io.ByteArrayResource
| Constructor and Description |
|---|
ByteArrayResource(String filename,
byte[] data) |
ByteArrayResource(String filename,
byte[] data,
String description) |
ByteArrayResource(String filename,
String data) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.Resource |
createRelative(String relativePath) |
String |
getFilename() |
contentLength, equals, exists, getByteArray, getDescription, getInputStream, hashCodepublic ByteArrayResource(String filename, byte[] data)
public org.springframework.core.io.Resource createRelative(String relativePath) throws IOException
createRelative in interface org.springframework.core.io.ResourcecreateRelative in class org.springframework.core.io.AbstractResourceIOExceptionpublic String getFilename() throws IllegalStateException
getFilename in interface org.springframework.core.io.ResourcegetFilename in class org.springframework.core.io.AbstractResourceIllegalStateExceptionCopyright © 2015 Revolution Systems Inc.. All rights reserved.