All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.filePiper.model.PipeComponent Maven / Gradle / Ivy

Go to download

This project is a GUI utility for processing files. It allows selecting a set of source files and a pipeline of processes to apply onto those files. The applications shows in a nice-looking user interface where you can define profiles for your repetitive tasks. It provides pre-defined processors doing usual file manipulation tasks like: Copy, Head, Tail, Chunk, Search, Replace, Zip, Unzip... But the biggest value of this file processor tool is the ability to add easily custom file processors written in java.

The newest version!
package net.sf.filePiper.model;


import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;


/**
 * Interface used to manage the pipe-line processing. 
 * 
 * @author BEROL
 */
public interface PipeComponent {

    
    public void processInputStream(InputStream input, InputFileInfo info);

    
    public OutputStream createOutputStream(InputFileInfo info) throws IOException;

    
    /**
     * Notififaction that the preceding processes (in the processing pipe) have finished the whole batch.
     */
    public void finished() throws IOException;


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy