/*******************************************************************************
* Copyright (c) 2004, 2009 IBM Corporation and others.
* 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:
* IBM - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.core;
/**
* A basic interface for console parsers
*
* @author vhirsl
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IConsoleParser {
/**
* Parse one line of output.
*
* @param line
* @return true if line was successfully processed; skip other console parsers<p>
* false - try other console parsers
*/
public boolean processLine(String line);
/**
* Finalization of a console parser when the stream is closed.
*/
public void shutdown();
}