1 /*******************************************************************************
2 * Copyright (c) 2009 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 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.event
;
16 * <b><u>TmfEventFormatStub</u></b>
18 * TODO: Implement me. Please.
20 public class TmfEventFormatStub
extends TmfEventFormat
{
22 // ========================================================================
24 // ========================================================================
26 // ========================================================================
28 // ========================================================================
30 public TmfEventFormatStub() {
31 super(new String
[] { "Field1", "Field2", "Field3", "Field4", "Field5" });
34 // ========================================================================
36 // ========================================================================
38 // ========================================================================
40 // ========================================================================
43 * @see org.eclipse.linuxtools.tmf.event.TmfEventFormat#parse(java.lang.Object)
46 public TmfEventField
[] parse(Object content
) {
47 TmfEventField field1
= new TmfEventField(1);
48 TmfEventField field2
= new TmfEventField(-10);
49 TmfEventField field3
= new TmfEventField(true);
50 TmfEventField field4
= new TmfEventField("some string");
51 TmfEventField field5
= new TmfEventField(new TmfTimestamp(1, (byte) 2, 3));
52 return new TmfEventField
[] { field1
, field2
, field3
, field4
, field5
};
55 // ========================================================================
57 // ========================================================================
This page took 0.03427 seconds and 5 git commands to generate.