diff options
Diffstat (limited to 'lttng/org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/internal/lttng/jni_v2_5/JniTracefile_v2_5.java')
-rw-r--r-- | lttng/org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/internal/lttng/jni_v2_5/JniTracefile_v2_5.java | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/lttng/org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/internal/lttng/jni_v2_5/JniTracefile_v2_5.java b/lttng/org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/internal/lttng/jni_v2_5/JniTracefile_v2_5.java deleted file mode 100644 index 7d712852cd..0000000000 --- a/lttng/org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/internal/lttng/jni_v2_5/JniTracefile_v2_5.java +++ /dev/null @@ -1,78 +0,0 @@ -package org.eclipse.linuxtools.internal.lttng.jni_v2_5; -/******************************************************************************* - * Copyright (c) 2009 Ericsson - * - * 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: - * William Bourque (wbourque@gmail.com) - Initial API and implementation - *******************************************************************************/ - -import java.util.HashMap; - -import org.eclipse.linuxtools.internal.lttng.jni.common.Jni_C_Pointer_And_Library_Id; -import org.eclipse.linuxtools.internal.lttng.jni.exception.JniException; -import org.eclipse.linuxtools.lttng.jni.JniEvent; -import org.eclipse.linuxtools.lttng.jni.JniMarker; -import org.eclipse.linuxtools.lttng.jni.JniTrace; -import org.eclipse.linuxtools.lttng.jni.JniTracefile; - -/** - * <b><u>JniTracefile_v2_5</u></b> - * <p> - * JniTracefile version to support Lttng traceformat of version 2.5<br> - * This class extend abstract class JniTracefile with (possibly) version specific implementation.<br> - * <p> - */ -public class JniTracefile_v2_5 extends JniTracefile { - - /* - * Forbid access to the default constructor - */ - protected JniTracefile_v2_5() { - super(); - } - - - public JniTracefile_v2_5(JniTracefile_v2_5 oldTracefile) { - super(oldTracefile); - } - - public JniTracefile_v2_5(Jni_C_Pointer_And_Library_Id newPtr, JniTrace newParentTrace) throws JniException { - super(newPtr, newParentTrace); - } - - - /** - * Allocate (call constructor for) a new JniEvent.<p> - * - * This method is made to bypass limitation related to abstract class, see comment in JniTracefile - * - * @return JniEvent a newly allocated JniEvent - * - * @see org.eclipse.linuxtools.lttng.jni.JniTracefile - */ - @Override - public JniEvent allocateNewJniEvent(Jni_C_Pointer_And_Library_Id newEventPtr, HashMap<Integer, JniMarker> newMarkersMap, JniTracefile newParentTracefile) throws JniException { - return new JniEvent_v2_5(newEventPtr, newMarkersMap, newParentTracefile); - } - - - /** - * Allocate (call constructor for) a new JniMarker.<p> - * - * This method is made to bypass limitation related to abstract class, see comment in JniTracefile - * - * @return JniMarker a newly allocated JniMarker - * - * @see org.eclipse.linuxtools.lttng.jni.JniTracefile - */ - @Override - public JniMarker allocateNewJniMarker(Jni_C_Pointer_And_Library_Id newMarkerPtr) throws JniException { - return new JniMarker_v2_5(newMarkerPtr); - } - -} |