public abstract class AbstractPrettyPrinterExtension extends AbstractCodeGenerationExtension
Modifier and Type | Field and Description |
---|---|
protected String |
fileExtension
If the extension for property file changes it might effect this as well !!!
|
log
Constructor and Description |
---|
AbstractPrettyPrinterExtension() |
Modifier and Type | Method and Description |
---|---|
void |
engage(CodeGenConfiguration configuration) |
protected void |
prettify(File file,
CodeGenConfiguration configuration)
Recursive procedure to prettify the files
|
protected abstract void |
prettifyFile(File file)
Implement this to call the proper pretty printers
|
protected String fileExtension
public void engage(CodeGenConfiguration configuration) throws CodeGenerationException
CodeGenerationException
protected void prettify(File file, CodeGenConfiguration configuration)
file
- protected abstract void prettifyFile(File file)
file
- Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.