Class HttpContentItem

  • All Implemented Interfaces:
    org.pentaho.platform.api.engine.IMimeTypeListener, org.pentaho.platform.api.repository.IContentItem

    public class HttpContentItem
    extends Object
    implements org.pentaho.platform.api.repository.IContentItem
    • Method Detail

      • closeOutputStream

        public void closeOutputStream()
        Specified by:
        closeOutputStream in interface org.pentaho.platform.api.repository.IContentItem
      • getPath

        public String getPath()
        Specified by:
        getPath in interface org.pentaho.platform.api.repository.IContentItem
      • getMimeType

        public String getMimeType()
        Specified by:
        getMimeType in interface org.pentaho.platform.api.repository.IContentItem
      • setMimeType

        public void setMimeType​(String mimeType)
        Specified by:
        setMimeType in interface org.pentaho.platform.api.repository.IContentItem
        Specified by:
        setMimeType in interface org.pentaho.platform.api.engine.IMimeTypeListener
      • setName

        public void setName​(String name)
        Specified by:
        setName in interface org.pentaho.platform.api.engine.IMimeTypeListener
      • getInputStream

        public InputStream getInputStream()
                                   throws org.pentaho.platform.api.repository.ContentException
        Specified by:
        getInputStream in interface org.pentaho.platform.api.repository.IContentItem
        Throws:
        org.pentaho.platform.api.repository.ContentException
      • getDataSource

        public org.pentaho.commons.connection.IPentahoStreamSource getDataSource()
        Specified by:
        getDataSource in interface org.pentaho.platform.api.repository.IContentItem
      • getOutputStream

        public OutputStream getOutputStream​(String actionName)
        Specified by:
        getOutputStream in interface org.pentaho.platform.api.repository.IContentItem
      • setOutputStream

        public void setOutputStream​(OutputStream outputStream)
      • getMimeTypeListener

        public org.pentaho.platform.api.engine.IMimeTypeListener getMimeTypeListener()
      • setMimeTypeListener

        public void setMimeTypeListener​(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener)