public class InputStreamResource
extends org.springframework.core.io.InputStreamResource
| Constructor and Description |
|---|
InputStreamResource(String filename,
InputStream inputStream) |
InputStreamResource(String filename,
InputStream inputStream,
long length) |
InputStreamResource(String filename,
InputStream inputStream,
String description) |
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
org.springframework.core.io.Resource |
createRelative(String relativePath) |
String |
getFilename() |
equals, exists, getDescription, getInputStream, hashCode, isOpenpublic InputStreamResource(String filename, InputStream inputStream)
public InputStreamResource(String filename, InputStream inputStream, long length)
public InputStreamResource(String filename, InputStream inputStream, String description)
public long contentLength()
throws IOException
contentLength in interface org.springframework.core.io.ResourcecontentLength in class org.springframework.core.io.AbstractResourceIOExceptionpublic 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.