public class SimpleContentItem extends Object implements org.pentaho.platform.api.repository.IContentItem
Constructor and Description |
---|
SimpleContentItem() |
SimpleContentItem(OutputStream outputStream) |
Modifier and Type | Method and Description |
---|---|
void |
closeOutputStream() |
org.pentaho.commons.connection.IPentahoStreamSource |
getDataSource() |
InputStream |
getInputStream() |
String |
getMimeType() |
OutputStream |
getOutputStream(String actionName) |
String |
getPath() |
void |
setMimeType(String mimeType) |
void |
setName(String name) |
void |
setOutputStream(OutputStream outputStream) |
public SimpleContentItem()
public SimpleContentItem(OutputStream outputStream)
public void closeOutputStream()
closeOutputStream
in interface org.pentaho.platform.api.repository.IContentItem
public String getPath()
getPath
in interface org.pentaho.platform.api.repository.IContentItem
public String getMimeType()
getMimeType
in interface org.pentaho.platform.api.repository.IContentItem
public void setMimeType(String mimeType)
setMimeType
in interface org.pentaho.platform.api.engine.IMimeTypeListener
setMimeType
in interface org.pentaho.platform.api.repository.IContentItem
public InputStream getInputStream() throws org.pentaho.platform.api.repository.ContentException
getInputStream
in interface org.pentaho.platform.api.repository.IContentItem
org.pentaho.platform.api.repository.ContentException
public OutputStream getOutputStream(String actionName) throws IOException
getOutputStream
in interface org.pentaho.platform.api.repository.IContentItem
IOException
public void setOutputStream(OutputStream outputStream)
public void setName(String name)
setName
in interface org.pentaho.platform.api.engine.IMimeTypeListener
public org.pentaho.commons.connection.IPentahoStreamSource getDataSource()
getDataSource
in interface org.pentaho.platform.api.repository.IContentItem
Copyright © 2019 Hitachi Vantara. All rights reserved.