com.sun.codemodel.fmt
Class JStaticJavaFile.ChainFilter

java.lang.Object  extended by com.sun.codemodel.fmt.JStaticJavaFile.ChainFilter
All Implemented Interfaces:
JStaticJavaFile.LineFilter
Enclosing class:
JStaticJavaFile

public static final class JStaticJavaFile.ChainFilter
extends Object
implements JStaticJavaFile.LineFilter

A JStaticJavaFile.LineFilter that combines two JStaticJavaFile.LineFilters.


Constructor Summary
JStaticJavaFile.ChainFilter(JStaticJavaFile.LineFilter first, JStaticJavaFile.LineFilter second)
           
 
Method Summary
 Stringprocess(String line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JStaticJavaFile.ChainFilter

public JStaticJavaFile.ChainFilter(JStaticJavaFile.LineFilter first,                                   JStaticJavaFile.LineFilter second)
Method Detail

process

public String process(String line)               throws ParseException
Specified by:
process in interface JStaticJavaFile.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 © 2005-2011
Oracle. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14