public class WebImagesDownloadResourceReader extends Object implements DownloadResourceReader
| Constructor and Description |
|---|
WebImagesDownloadResourceReader(String resourcePath,
org.springframework.core.io.InputStreamSource inputStreamSource) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
String |
getContentType() |
Date |
getLastModificationDate() |
String |
getName()
User-displayable name of the resource.
|
InputStream |
getStreamForReading()
The input stream for reading the resource.
|
public WebImagesDownloadResourceReader(String resourcePath, org.springframework.core.io.InputStreamSource inputStreamSource)
public String getName()
DownloadResourceReadergetName in interface DownloadResourceReaderpublic String getContentType()
getContentType in interface DownloadResourceReaderpublic long getContentLength()
getContentLength in interface DownloadResourceReaderpublic Date getLastModificationDate()
getLastModificationDate in interface DownloadResourceReaderpublic InputStream getStreamForReading()
DownloadResourceReaderThe client is responsible for closing the returned stream in a finally block.
getStreamForReading in interface DownloadResourceReaderInputStream for readingCopyright © 2003–2021 Atlassian. All rights reserved.