public class RepositoryFileStreamProvider extends Object implements IBackgroundExecutionStreamProvider, 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() |
IStreamingAction |
getStreamingAction() |
void |
setInputFilePath(String filePath) |
void |
setOutputFilePath(String filePath) |
void |
setStreamingAction(IStreamingAction streamingAction) |
String |
toString() |
public RepositoryFileStreamProvider(String inputFilePath, String outputFilePath, boolean autoCreateUniqueFilename)
public RepositoryFileStreamProvider()
public IStreamingAction getStreamingAction()
public void setStreamingAction(IStreamingAction streamingAction)
setStreamingAction
in interface IBackgroundExecutionStreamProvider
public String getOutputPath()
getOutputPath
in interface IBackgroundExecutionStreamProvider
public String getMimeType()
getMimeType
in interface IBackgroundExecutionStreamProvider
public OutputStream getOutputStream() throws Exception
getOutputStream
in interface IBackgroundExecutionStreamProvider
Exception
public void fileCreated(String filePath)
fileCreated
in interface IStreamListener
public String getOutputFilePath()
public void setOutputFilePath(String filePath)
setOutputFilePath
in interface IBackgroundExecutionStreamProvider
public String getInputFilePath()
public void setInputFilePath(String filePath)
public InputStream getInputStream() throws Exception
getInputStream
in interface IBackgroundExecutionStreamProvider
Exception
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.