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 |
appendDateFormat |
String |
inputFilePath |
String |
outputFilePath |
Constructor and Description |
---|
RepositoryFileStreamProvider() |
RepositoryFileStreamProvider(String inputFilePath,
String outputFilePath,
boolean autoCreateUniqueFilename) |
RepositoryFileStreamProvider(String inputFilePath,
String outputFilePath,
boolean autoCreateUniqueFilename,
String appendDateFormat) |
Modifier and Type | Method and Description |
---|---|
boolean |
autoCreateUniqueFilename() |
void |
fileCreated(String filePath) |
String |
getAppendDateFormat() |
String |
getInputFilePath() |
InputStream |
getInputStream() |
String |
getMimeType() |
String |
getOutputFilePath() |
String |
getOutputPath() |
OutputStream |
getOutputStream() |
org.pentaho.platform.api.action.IStreamingAction |
getStreamingAction() |
void |
setAppendDateFormat(String appendDateFormat) |
void |
setInputFilePath(String filePath) |
void |
setOutputFilePath(String filePath) |
void |
setStreamingAction(org.pentaho.platform.api.action.IStreamingAction streamingAction) |
String |
toString() |
public String outputFilePath
public String inputFilePath
public String appendDateFormat
public RepositoryFileStreamProvider(String inputFilePath, String outputFilePath, boolean autoCreateUniqueFilename)
public RepositoryFileStreamProvider(String inputFilePath, String outputFilePath, boolean autoCreateUniqueFilename, String appendDateFormat)
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 String getAppendDateFormat()
public void setAppendDateFormat(String appendDateFormat)
public InputStream getInputStream() throws Exception
getInputStream
in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
Exception
public boolean autoCreateUniqueFilename()
Copyright © 2019 Hitachi Vantara. All rights reserved.