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

net.sf.filePiper.processors.SizeAndUnit 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.processors;


/**
 * Interface allowing to set a size along with its units (usually 'lines' and 'bytes'). Isolating those attributes in an
 * interface will help tpo build a reusable GUI component
 * 
 * @author BEROL
 * @see net.sf.filePiper.gui.SizeAndUnitEditor
 */
public interface SizeAndUnit {


    public static final int UNIT_BYTE = 0;
    public static final int UNIT_LINE = 1;


    public int getSize();


    public void setSize(int newSize);


    public int getUnits();


    public void setUnits(int newUnits);


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy