public class OutputStreamResource
extends org.springframework.core.io.AbstractResource
| Constructor and Description |
|---|
OutputStreamResource(String filename,
OutputStream outputStream) |
OutputStreamResource(String filename,
OutputStream outputStream,
String description) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.Resource |
createRelative(String relativePath) |
boolean |
equals(Object object) |
boolean |
exists() |
String |
getDescription() |
String |
getFilename() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
int |
hashCode() |
boolean |
isOpen() |
public OutputStreamResource(String filename, OutputStream outputStream)
public OutputStreamResource(String filename, OutputStream outputStream, String description)
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 boolean equals(Object object)
equals in class org.springframework.core.io.AbstractResourcepublic boolean exists()
exists in interface org.springframework.core.io.Resourceexists in class org.springframework.core.io.AbstractResourcepublic String getDescription()
public String getFilename() throws IllegalStateException
getFilename in interface org.springframework.core.io.ResourcegetFilename in class org.springframework.core.io.AbstractResourceIllegalStateExceptionpublic InputStream getInputStream() throws IOException
IOExceptionpublic OutputStream getOutputStream()
public int hashCode()
hashCode in class org.springframework.core.io.AbstractResourcepublic boolean isOpen()
isOpen in interface org.springframework.core.io.ResourceisOpen in class org.springframework.core.io.AbstractResourceCopyright © 2015 Revolution Systems Inc.. All rights reserved.