de.cau.cs.kieler.s.sc.beautifier
Class SCCodeFormatter

java.lang.Object
  extended by de.cau.cs.kieler.s.sc.beautifier.SCCodeFormatter

public class SCCodeFormatter
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
SCCodeFormatter()
          The constructor to set the input- and output file.
 
Method Summary
 IDocument format(IDocument document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCCodeFormatter

public SCCodeFormatter()
The constructor to set the input- and output file.

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

format

public IDocument format(IDocument document)