Class RepositoryFileStreamProvider

  • All Implemented Interfaces:
    Serializable, org.pentaho.platform.api.repository2.unified.IStreamListener, org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider

    public class RepositoryFileStreamProvider
    extends Object
    implements org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider, org.pentaho.platform.api.repository2.unified.IStreamListener
    See Also:
    Serialized Form
    • Field Detail

      • outputFilePath

        public String outputFilePath
      • inputFilePath

        public String inputFilePath
      • appendDateFormat

        public String appendDateFormat
    • Constructor Detail

      • RepositoryFileStreamProvider

        public RepositoryFileStreamProvider​(String inputFilePath,
                                            String outputFilePath,
                                            boolean autoCreateUniqueFilename)
      • RepositoryFileStreamProvider

        public RepositoryFileStreamProvider​(String inputFilePath,
                                            String outputFilePath,
                                            boolean autoCreateUniqueFilename,
                                            String appendDateFormat)
      • RepositoryFileStreamProvider

        public RepositoryFileStreamProvider()
    • Method Detail

      • getStreamingAction

        public org.pentaho.platform.api.action.IStreamingAction getStreamingAction()
      • setStreamingAction

        public void setStreamingAction​(org.pentaho.platform.api.action.IStreamingAction streamingAction)
        Specified by:
        setStreamingAction in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
      • getOutputPath

        public String getOutputPath()
        Specified by:
        getOutputPath in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
      • getMimeType

        public String getMimeType()
        Specified by:
        getMimeType in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
      • getOutputStream

        public OutputStream getOutputStream()
                                     throws Exception
        Specified by:
        getOutputStream in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
        Throws:
        Exception
      • fileCreated

        public void fileCreated​(String filePath)
        Specified by:
        fileCreated in interface org.pentaho.platform.api.repository2.unified.IStreamListener
      • getOutputFilePath

        public String getOutputFilePath()
      • setOutputFilePath

        public void setOutputFilePath​(String filePath)
        Specified by:
        setOutputFilePath in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
      • getInputFilePath

        public String getInputFilePath()
      • setInputFilePath

        public void setInputFilePath​(String filePath)
      • getAppendDateFormat

        public String getAppendDateFormat()
      • setAppendDateFormat

        public void setAppendDateFormat​(String appendDateFormat)
      • getInputStream

        public InputStream getInputStream()
                                   throws Exception
        Specified by:
        getInputStream in interface org.pentaho.platform.api.scheduler2.IBackgroundExecutionStreamProvider
        Throws:
        Exception
      • autoCreateUniqueFilename

        public boolean autoCreateUniqueFilename()