org.pentaho.platform.repository.content
Class ContentItem.FilePentahoStreamSource
java.lang.Object
org.pentaho.platform.repository.content.ContentItem.FilePentahoStreamSource
- All Implemented Interfaces:
- org.pentaho.commons.connection.IPentahoStreamSource
- Enclosing class:
- ContentItem
public static final class ContentItem.FilePentahoStreamSource
- extends Object
- implements org.pentaho.commons.connection.IPentahoStreamSource
ContentItem.FilePentahoStreamSource
public ContentItem.FilePentahoStreamSource(String fp)
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in interface org.pentaho.commons.connection.IPentahoStreamSource
- Throws:
IOException
getName
public String getName()
- Specified by:
getName
in interface org.pentaho.commons.connection.IPentahoStreamSource
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Specified by:
getOutputStream
in interface org.pentaho.commons.connection.IPentahoStreamSource
- Throws:
IOException
getContentType
public String getContentType()
- Specified by:
getContentType
in interface org.pentaho.commons.connection.IPentahoStreamSource