public interface IContentItem extends IMimeTypeListener
ContentLocation| Modifier and Type | Method and Description |
|---|---|
void |
closeOutputStream() |
org.pentaho.commons.connection.IPentahoStreamSource |
getDataSource() |
InputStream |
getInputStream()
Gets an input stream from the Content item.
|
String |
getMimeType() |
OutputStream |
getOutputStream(String actionName)
The behavior of this method depends upon it's write mode (defined only at construction).
|
String |
getPath() |
void |
setMimeType(String mimeType)
Sets the mime type
|
setNameString getPath()
String getMimeType()
InputStream getInputStream() throws ContentException
ContentExceptionorg.pentaho.commons.connection.IPentahoStreamSource getDataSource()
OutputStream getOutputStream(String actionName) throws IOException
actionName - The name of the action that is obtaining the output stream.IOExceptionvoid closeOutputStream()
void setMimeType(String mimeType)
setMimeType in interface IMimeTypeListenermimeType - The mime type to set.