Skip to content
A project that helps create java.io.FilterReader that removes and transforms lines before reading them.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
README.md
pom.xml

README.md

README.md

A project that helps create FilterReader that removes and transforms lines before reading them.

Usage

public class UsageExample {

    public void test(final File file) throws IOException {
    	final MogrifiedReaderMaker maker = new MogrifiedReaderMaker();
    	
    	maker.trimRight();
		maker.omitLines().startingWith("#");
    	maker.omitLines().containing("needle");
    	maker.transformLines().byReplacing("foobar", " foobaz");
    	
    	final Reader reader = maker.read(file);
    }
}
You can’t perform that action at this time.