1 /*******************************************************************************
2 * Copyright (c) 2010 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.parsers
.custom
;
15 import java
.util
.regex
.Matcher
;
17 import org
.eclipse
.linuxtools
.tmf
.io
.BufferedRandomAccessFile
;
18 import org
.eclipse
.linuxtools
.tmf
.trace
.ITmfLocation
;
19 import org
.eclipse
.linuxtools
.tmf
.trace
.TmfContext
;
20 import org
.eclipse
.linuxtools
.tmf
.ui
.parsers
.custom
.CustomTxtTraceDefinition
.InputLine
;
22 public class CustomTxtTraceContext
extends TmfContext
{
23 public BufferedRandomAccessFile raFile
;
24 public Matcher firstLineMatcher
;
25 public String firstLine
;
26 public long nextLineLocation
;
27 public InputLine inputLine
;
29 public CustomTxtTraceContext(ITmfLocation
<?
> location
, long rank
) {
30 super(location
, rank
);