public class LogFilter extends Object
public LogFilter(File source, File destination, Pattern[] accept, Pattern[] remove)
Every single line from 'source' is matched against 'accept'. If some pattern matches the line, it goes to 'destination'.
If not, it is matched against 'remove'. If some pattern matches the line, it is discarded.
If no pattern matches, the line goes to 'destination'.
source - destination - accept - remove - public void filter()
throws IOException
IOExceptionCopyright © 2019 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.