de.cau.cs.kieler.synccharts.codegen.sc
Class Beautifier

java.lang.Object
  extended by de.cau.cs.kieler.synccharts.codegen.sc.Beautifier

public class Beautifier
extends Object

A utility class to beautify the generated SC-code. After generating code the file will be read in and written out by formating it with some rules.

Rating yellow
(2010-06-14)

Constructor Summary
Beautifier(File input, File output)
          The constructor to set the input- and output file.
 
Method Summary
 void bueatify()
          Starts the beautifying mechanism.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Beautifier

public Beautifier(File input,
                  File output)
The constructor to set the input- and output file.

Parameters:
input - input file
output - output file
Method Detail

bueatify

public void bueatify()
              throws IOException
Starts the beautifying mechanism.

Throws:
IOException - if file does not exist or writing into a file fails