org.exoplatform.answer.webui
Class FAQDownloadResource

java.lang.Object
  extended by org.exoplatform.download.DownloadResource
      extended by org.exoplatform.answer.webui.FAQDownloadResource

public class FAQDownloadResource
extends org.exoplatform.download.DownloadResource


Constructor Summary
FAQDownloadResource(String downloadType, String resourceMimeType)
           
 
Method Summary
 org.exoplatform.faq.service.FileAttachment getFileAttachment()
           
 InputStream getInputStream()
           
 void setFileAttachment(org.exoplatform.faq.service.FileAttachment fileAttachment)
           
 
Methods inherited from class org.exoplatform.download.DownloadResource
getAccessCounter, getDownloadName, getDownloadType, getLimit, getLiveTime, getResourceMimeType, setAccessCounter, setDownloadName, setLimit, setLiveTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FAQDownloadResource

public FAQDownloadResource(String downloadType,
                           String resourceMimeType)
Method Detail

getFileAttachment

public org.exoplatform.faq.service.FileAttachment getFileAttachment()

setFileAttachment

public void setFileAttachment(org.exoplatform.faq.service.FileAttachment fileAttachment)

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in class org.exoplatform.download.DownloadResource
Throws:
IOException


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.