Cleaner 0.1

Cleaner is a Java beautifier that transforms ugly syntax into beautiful syntax.
Cleaner is a Java beautifier that transforms ugly syntax into beautiful syntax. The Java code syntax is parsed using ANTLR and then printed to standard output.

Source is included.

Something like this:

public void foo(String bar)
{
for(int x=0; x < 9; x++ )
{
System.out.println ("X = " + x);
}
}

Will become

public void foo( String bar ){
for ( int x = 0; x < 9; x++ ){
System.out.println( "X = " + x );
}
}

Compile:

$ ant

Run:

$ java -classpath cleaner.jar:lib/antlr.jar cleaner.Cleaner < some-file >

last updated on:
April 17th, 2006, 17:53 GMT
price:
FREE!
developed by:
Jon Rafkind
homepage:
www.rafkind.com
license type:
GPL (GNU General Public License) 
category:
ROOT \ Programming \ Debuggers

FREE!

In a hurry? Add it to your Download Basket!

user rating 17

3.0/5
 

0/5

Rate it!
2 Screenshots
CleanerCleaner

Add your review!

SUBMIT