public class FileDownloadResourceReader extends Object implements DownloadResourceReader
| Constructor and Description |
|---|
FileDownloadResourceReader(File file,
boolean deleteFileOnClose) |
| 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 FileDownloadResourceReader(File file, boolean deleteFileOnClose)
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()
DownloadResourceReadergetStreamForReading in interface DownloadResourceReaderInputStream for readingCopyright © 2003–2016 Atlassian. All rights reserved.