de.cau.cs.kieler.synccharts.codegen.sc
Class Beautifier
java.lang.Object
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

- (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 |
Beautifier
public Beautifier(File input,
File output)
- The constructor to set the input- and output file.
- Parameters:
input
- input fileoutput
- output file
bueatify
public void bueatify()
throws IOException
- Starts the beautifying mechanism.
- Throws:
IOException
- if file does not exist or writing into a file fails