org.mule.devkit.model.code.fmt
Interface StaticJavaFile.LineFilter

All Known Implementing Classes:
StaticJavaFile.ChainFilter
Enclosing class:
StaticJavaFile

public static interface StaticJavaFile.LineFilter

Filter that alters the Java source code.

By implementing this interface, derived classes can modify the Java source file before it's written out.


Method Summary
 String process(String line)
           
 

Method Detail

process

String process(String line)
               throws ParseException
Parameters:
line - a non-null valid String that corresponds to one line. No '\n' included.
Returns:
null to strip the line off. Otherwise the returned String will be written out. Do not add '\n' at the end of this string.
Throws:
ParseException - when for some reason there's an error in the line.


Copyright © 2010-2013 MuleSoft, Inc.. All Rights Reserved.