public class LineFilter extends Reader
public LineFilter(Reader in, Closure closure)
closure - a Closure to filter each lineNullPointerException - if in is nullpublic int read()
throws IOException
read in class ReaderIOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read in class ReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionCopyright © 2013. All rights reserved