public class GenericDownloadResourceReader extends Object implements DownloadResourceReader
Constructor and Description |
---|
GenericDownloadResourceReader(String name,
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 GenericDownloadResourceReader(String name, org.springframework.core.io.InputStreamSource inputStreamSource)
public String getName()
DownloadResourceReader
getName
in interface DownloadResourceReader
public String getContentType()
getContentType
in interface DownloadResourceReader
public long getContentLength()
getContentLength
in interface DownloadResourceReader
public Date getLastModificationDate()
getLastModificationDate
in interface DownloadResourceReader
public InputStream getStreamForReading()
DownloadResourceReader
getStreamForReading
in interface DownloadResourceReader
InputStream
for readingCopyright © 2003–2015 Atlassian. All rights reserved.