org.mule.devkit.model.code.fmt
Class StaticJavaFile.ChainFilter
java.lang.Object
org.mule.devkit.model.code.fmt.StaticJavaFile.ChainFilter
- All Implemented Interfaces:
- StaticJavaFile.LineFilter
- Enclosing class:
- StaticJavaFile
public static final class StaticJavaFile.ChainFilter
- extends Object
- implements StaticJavaFile.LineFilter
A StaticJavaFile.LineFilter that combines two StaticJavaFile.LineFilters.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticJavaFile.ChainFilter
public StaticJavaFile.ChainFilter(StaticJavaFile.LineFilter first,
StaticJavaFile.LineFilter second)
process
public String process(String line)
throws ParseException
- Specified by:
process in interface StaticJavaFile.LineFilter
- 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–2014 MuleSoft, Inc.. All rights reserved.