sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi/src/com/nokia/carbide/cpp/internal/pi/model/Parser.java
/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/
package com.nokia.carbide.cpp.internal.pi.model;
import java.io.File;
public abstract class Parser {
protected String traceVersion;
private boolean stateOk = true;
public Parser()
{
}
public abstract ParsedTraceData parse(File file) throws Exception;
public boolean isStateOk()
{
return stateOk;
}
public void setStateOk(boolean flag)
{
stateOk = flag;
}
public String getTraceVersion()
{
return traceVersion;
}
}