public class RepositoryFileStreamProvider extends Object implements org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider, org.pentaho.platform.api.repository2.unified.IStreamListener
Modifier and Type | Field and Description |
---|---|
String |
inputFilePath |
String |
outputFilePath |
Constructor and Description |
---|
RepositoryFileStreamProvider() |
RepositoryFileStreamProvider(String inputFilePath,
String outputFilePath,
boolean autoCreateUniqueFilename) |
Modifier and Type | Method and Description |
---|---|
void |
fileCreated(String filePath) |
String |
getInputFilePath() |
InputStream |
getInputStream() |
String |
getMimeType() |
String |
getOutputFilePath() |
String |
getOutputPath() |
OutputStream |
getOutputStream() |
org.pentaho.platform.api.action.IStreamingAction |
getStreamingAction() |
void |
setInputFilePath(String filePath) |
void |
setOutputFilePath(String filePath) |
void |
setStreamingAction(org.pentaho.platform.api.action.IStreamingAction streamingAction) |
String |
toString() |
public RepositoryFileStreamProvider(String inputFilePath, String outputFilePath, boolean autoCreateUniqueFilename)
public RepositoryFileStreamProvider()
public org.pentaho.platform.api.action.IStreamingAction getStreamingAction()
public void setStreamingAction(org.pentaho.platform.api.action.IStreamingAction streamingAction)
setStreamingAction
in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
public String getOutputPath()
getOutputPath
in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
public String getMimeType()
getMimeType
in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
public OutputStream getOutputStream() throws Exception
getOutputStream
in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
Exception
public void fileCreated(String filePath)
fileCreated
in interface org.pentaho.platform.api.repository2.unified.IStreamListener
public String getOutputFilePath()
public void setOutputFilePath(String filePath)
setOutputFilePath
in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
public String getInputFilePath()
public void setInputFilePath(String filePath)
public InputStream getInputStream() throws Exception
getInputStream
in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
Exception