public class RepositoryFileContentItem extends Object implements IContentItem
Constructor and Description |
---|
RepositoryFileContentItem(String filePath) |
Modifier and Type | Method and Description |
---|---|
void |
closeOutputStream() |
org.pentaho.commons.connection.IPentahoStreamSource |
getDataSource() |
InputStream |
getInputStream() |
String |
getMimeType() |
OutputStream |
getOutputStream(String arg0) |
String |
getPath() |
void |
setMimeType(String mimeType) |
void |
setName(String arg0) |
public RepositoryFileContentItem(String filePath)
public void closeOutputStream()
closeOutputStream
in interface IContentItem
public org.pentaho.commons.connection.IPentahoStreamSource getDataSource()
getDataSource
in interface IContentItem
public InputStream getInputStream() throws ContentException
getInputStream
in interface IContentItem
ContentException
public String getMimeType()
getMimeType
in interface IContentItem
public OutputStream getOutputStream(String arg0) throws IOException
getOutputStream
in interface IContentItem
IOException
public String getPath()
getPath
in interface IContentItem
public void setMimeType(String mimeType)
setMimeType
in interface IMimeTypeListener
setMimeType
in interface IContentItem
public void setName(String arg0)
setName
in interface IMimeTypeListener
Copyright © 2017 Hitachi Vantara. All rights reserved.