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 java.lang.Object
- implements org.pentaho.commons.connection.IPentahoStreamSource
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentItem.FilePentahoStreamSource
public ContentItem.FilePentahoStreamSource(java.lang.String fp)
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Specified by:
getInputStream
in interface org.pentaho.commons.connection.IPentahoStreamSource
- Throws:
java.io.IOException
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.pentaho.commons.connection.IPentahoStreamSource
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Specified by:
getOutputStream
in interface org.pentaho.commons.connection.IPentahoStreamSource
- Throws:
java.io.IOException
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interface org.pentaho.commons.connection.IPentahoStreamSource