Commit | Line | Data |
---|---|---|
cb8c854e | 1 | /******************************************************************************* |
11252342 | 2 | * Copyright (c) 2012, 2013 Ericsson |
cb8c854e FC |
3 | * |
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 | |
8 | * | |
9 | * Contributors: | |
10 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
a3db8436 | 13 | package org.eclipse.linuxtools.tmf.core.tests.trace.location; |
cb8c854e | 14 | |
032ecd45 MAL |
15 | import java.nio.ByteBuffer; |
16 | ||
a3db8436 | 17 | import org.eclipse.linuxtools.tmf.core.trace.location.TmfLocation; |
cb8c854e FC |
18 | |
19 | /** | |
20 | * <b><u>TmfStringLocation</u></b> | |
21 | * <p> | |
22 | * Implement me. Please. | |
23 | * <p> | |
24 | */ | |
1e1bef82 | 25 | public class TmfStringLocation extends TmfLocation { |
cb8c854e | 26 | |
577ee847 FC |
27 | /** |
28 | * @param location the concrete trace location | |
29 | */ | |
cb8c854e FC |
30 | public TmfStringLocation(String location) { |
31 | super(location); | |
32 | } | |
33 | ||
577ee847 FC |
34 | /** |
35 | * @param other the other location | |
36 | */ | |
1e1bef82 | 37 | public TmfStringLocation(TmfStringLocation other) { |
5976d44a | 38 | super(other.getLocationInfo()); |
cb8c854e FC |
39 | } |
40 | ||
577ee847 FC |
41 | @Override |
42 | public String getLocationInfo() { | |
43 | return (String) super.getLocationInfo(); | |
44 | } | |
45 | ||
032ecd45 MAL |
46 | /** |
47 | * @since 3.0 | |
48 | */ | |
49 | @Override | |
50 | public void serialize(ByteBuffer bufferOut) { | |
51 | throw new UnsupportedOperationException(); | |
52 | } | |
cb8c854e | 53 | } |