public class HttpContentItem extends Object implements org.pentaho.platform.api.repository.IContentItem
| Constructor and Description |
|---|
HttpContentItem(OutputStream outputStream,
HttpOutputHandler outputHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeOutputStream() |
org.pentaho.commons.connection.IPentahoStreamSource |
getDataSource() |
InputStream |
getInputStream() |
String |
getMimeType() |
org.pentaho.platform.api.engine.IMimeTypeListener |
getMimeTypeListener() |
OutputStream |
getOutputStream(String actionName) |
String |
getPath() |
void |
setMimeType(String mimeType) |
void |
setMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener) |
void |
setName(String name) |
void |
setOutputStream(OutputStream outputStream) |
public HttpContentItem(OutputStream outputStream, HttpOutputHandler outputHandler)
public void closeOutputStream()
closeOutputStream in interface org.pentaho.platform.api.repository.IContentItempublic String getPath()
getPath in interface org.pentaho.platform.api.repository.IContentItempublic String getMimeType()
getMimeType in interface org.pentaho.platform.api.repository.IContentItempublic void setMimeType(String mimeType)
setMimeType in interface org.pentaho.platform.api.engine.IMimeTypeListenersetMimeType in interface org.pentaho.platform.api.repository.IContentItempublic void setName(String name)
setName in interface org.pentaho.platform.api.engine.IMimeTypeListenerpublic InputStream getInputStream() throws org.pentaho.platform.api.repository.ContentException
getInputStream in interface org.pentaho.platform.api.repository.IContentItemorg.pentaho.platform.api.repository.ContentExceptionpublic org.pentaho.commons.connection.IPentahoStreamSource getDataSource()
getDataSource in interface org.pentaho.platform.api.repository.IContentItempublic OutputStream getOutputStream(String actionName)
getOutputStream in interface org.pentaho.platform.api.repository.IContentItempublic void setOutputStream(OutputStream outputStream)
public org.pentaho.platform.api.engine.IMimeTypeListener getMimeTypeListener()
public void setMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener)