blob: 6da922969ba0ff0b807575475f9bb956aea620bf [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 EclipseSource Muenchen GmbH.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
******************************************************************************/
package org.eclipse.emf.emfstore.client.ui.errorreporting;
import java.io.File;
import java.io.FilenameFilter;
/**
* Filter for log files.
*/
public class LogFilenameFilter implements FilenameFilter {
/**
* {@inheritDoc}
*/
public boolean accept(File file, String name) {
return name.toLowerCase().endsWith(".log");
}
}