More javadoc updates
authorFrancois Chouinard <fchouinard@gmail.com>
Tue, 12 Jun 2012 12:34:01 +0000 (08:34 -0400)
committerFrancois Chouinard <fchouinard@gmail.com>
Tue, 12 Jun 2012 12:40:11 +0000 (08:40 -0400)
49 files changed:
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/ArrayDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/ArrayDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/Definition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/Encoding.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/EnumDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/EnumDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/FloatDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/FloatDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/IDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/IDefinitionScope.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/IntegerDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/IntegerDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/SequenceDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/SequenceDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/StringDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/StringDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/StructDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/StructDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/VariantDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/VariantDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/CTFReaderException.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/CTFTrace.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/CTFTraceReader.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/Metadata.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/StreamInputPacketReader.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/StreamInputReader.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/Utils.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniEvent.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniMarker.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniMarkerField.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniParser.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniTrace.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniTracefile.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/Jni_C_Common.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/factory/JniTraceFactory.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/factory/JniTraceVersion.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterAndNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterCompareNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterContainsNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterEqualsNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterEventTypeNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterMatchesNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterOrNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterRootNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterTreeNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/xml/TmfFilterContentHandler.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/xml/TmfFilterXMLParser.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/xml/TmfFilterXMLWriter.java

index c7ee915ff5a809ff3c121545a5a798bb36b8d396..fd3c79c7440fc0140e88a01e4f8bb9ab8071d9d0 100644 (file)
 package org.eclipse.linuxtools.ctf.core.event.types;
 
 /**
- * <b><u>ArrayDeclaration</u></b>
+ * A CTF array declaration
+ *
+ * Arrays are fixed-length. Their length is declared in the type
+ * declaration within the meta-data. They contain an array of "inner type"
+ * elements, which can refer to any type not containing the type of the
+ * array being declared (no circular dependency). The length is the number
+ * of elements in an array.
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class ArrayDeclaration implements IDeclaration {
 
index 7f1f6e353bedab9f4f152875242e93813b4c98b2..33e655aed85b8b7394ff4bc4bf8af230e81fafc3 100644 (file)
@@ -15,7 +15,17 @@ package org.eclipse.linuxtools.ctf.core.event.types;
 import org.eclipse.linuxtools.internal.ctf.core.event.io.BitBuffer;
 
 /**
- * <b><u>ArrayDefinition</u></b>
+ * A CTF array definiton
+ *
+ * Arrays are fixed-length. Their length is declared in the type
+ * declaration within the meta-data. They contain an array of "inner type"
+ * elements, which can refer to any type not containing the type of the
+ * array being declared (no circular dependency). The length is the number
+ * of elements in an array.
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class ArrayDefinition extends Definition {
 
index 45351aa1130294e2d9dd08a0eef54f21b15c7d51..2edc2a9e7115088bec2e0fb7466965c180c53773 100644 (file)
@@ -15,14 +15,19 @@ package org.eclipse.linuxtools.ctf.core.event.types;
 import org.eclipse.linuxtools.internal.ctf.core.event.io.BitBuffer;
 
 /**
- * <b><u>Definition</u></b><br>
- * A definition is like an object of a declaration class. It fills the declaration with values. <br>
+ * A CTF definiton
+ *
+ * A definition is like an object of a declaration class. It fills the declaration
+ * with values. <br>
  * An example: <br>
  * int i = 0; <br>
  * <b>int</b> is the declaration.<br>
  * <b>i</b> is the definition.<br>
  * <b>0</b> is the value assigned to the definition, not the declaration.<br>
  *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public abstract class Definition {
 
index a3de0160baaed5084cb2037052c96ec1f5b81985..e77b890d9796e6d65bc1564c50f0ba5100b3788f 100644 (file)
 package org.eclipse.linuxtools.ctf.core.event.types;
 
 /**
- * <b><u>Encoding</u></b>
- * <p>
- * Encoding types
+ * CTF encoding types
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public enum Encoding {
     /** UTF-8 encoding */
index 6cd0bdbe5fb88724373607e217338408af7cd277..4c145b4c01545749536bcbcf6cd8fdb752f3224c 100644 (file)
@@ -16,7 +16,14 @@ import java.util.LinkedList;
 import java.util.List;
 
 /**
- * <b><u>EnumDeclaration</u></b>
+ * A CTF enum declaration.
+ * 
+ * The definition of a enum point basic data type. It will take the data
+ * from a trace and store it (and make it fit) as an integer and a string.
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class EnumDeclaration implements IDeclaration {
 
index e1565f92adb77c34dc314d9049364a5db30deac9..d341d0a681467a6ad7fa15f8d00593f8f8c4451e 100644 (file)
@@ -15,7 +15,14 @@ package org.eclipse.linuxtools.ctf.core.event.types;
 import org.eclipse.linuxtools.internal.ctf.core.event.io.BitBuffer;
 
 /**
- * <b><u>EnumDefinition</u></b>
+ * A CTF enum definition.
+ * 
+ * The definition of a enum point basic data type. It will take the data
+ * from a trace and store it (and make it fit) as an integer and a string.
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class EnumDefinition extends Definition {
 
index 3d97dd46015b16d52a6298222e8a17dec90ef5a5..51f5903e9a282be49f0ef71e82d9fdde2a764333 100644 (file)
@@ -14,10 +14,12 @@ package org.eclipse.linuxtools.ctf.core.event.types;
 import java.nio.ByteOrder;
 
 /**
- * Float declaration
+ * A CTF float declaration.
+ * 
+ * The declaration of a floating point basic data type.
  *
+ * @version 1.0
  * @author Matthew Khouzam
- *
  */
 public class FloatDeclaration implements IDeclaration {
 
index 07bd50cd39364184c577a4e14625172162db62cc..c94027eb209c7a6782b48303c6e765b560ec737e 100644 (file)
@@ -14,9 +14,14 @@ package org.eclipse.linuxtools.ctf.core.event.types;
 import org.eclipse.linuxtools.internal.ctf.core.event.io.BitBuffer;
 
 /**
- * Float definition
- * @author Matthew Khouzam
+ * A CTF float definition.
+ * 
+ * The definition of a floating point basic data type. It will take the data
+ * from a trace and store it (and make it fit) as a double.
  *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class FloatDefinition extends Definition {
     // ------------------------------------------------------------------------
index 1aba10e3c979e69e15a78799dd7971c6ddcf9875..428a4f127e4bf4b99790fddb02b2fece47e7a98e 100644 (file)
 package org.eclipse.linuxtools.ctf.core.event.types;
 
 /**
- * <b><u>IDeclaration</u></b>
+ * A CTF data type declaration.
+ * 
+ * An example: <br>
+ * int i = 0; <br>
+ * <b>int</b> is the declaration.<br>
+ * <b>i</b> is the definition.<br>
+ * <b>0</b> is the value assigned to the definition, not the declaration.<br>
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public interface IDeclaration {
 
index 1cf50fa2c8b25a22ff97b768894e9e2bce840fe5..46bc5d74770289225ea68624650a8c1532fcb1dc 100644 (file)
 package org.eclipse.linuxtools.ctf.core.event.types;
 
 /**
- * <b><u>IDefinitionScope</u></b>
+ * The scope of a CTF definition. Used for compound types.
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public interface IDefinitionScope {
 
index b8803786bf1b04bd6ae0a1874e60473c67c722c3..26a8976d51cc36f81bba63e87673bc553a51f0aa 100644 (file)
@@ -15,7 +15,13 @@ package org.eclipse.linuxtools.ctf.core.event.types;
 import java.nio.ByteOrder;
 
 /**
- * <b><u>IntegerDeclaration</u></b>
+ * A CTF integer declaration.
+ * 
+ * The declaration of a integer basic data type.
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class IntegerDeclaration implements IDeclaration {
 
index 312489775ed30a8dc766a06cdf5502f054c76332..1157abde24056cdbd67e78f1ead4aa94a6d5a018 100644 (file)
@@ -15,10 +15,17 @@ package org.eclipse.linuxtools.ctf.core.event.types;
 import org.eclipse.linuxtools.internal.ctf.core.event.io.BitBuffer;
 
 /**
- * <b><u>IntegerDefinition</u></b>
- * <p>
+ * A CTF integer definition.
+ * 
+ * The definition of a integer basic data type. It will take the data
+ * from a trace and store it (and make it fit) as a long.
+ *
  * TODO: Reading integers with an endianness different from the trace endianness
  * is not supported
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class IntegerDefinition extends Definition {
 
index aea78d1881e5c0db8fa52b846c85e96c5a31fc07..082c70488ab85a315124e682c6f7b8e017d7c365 100644 (file)
@@ -15,9 +15,14 @@ package org.eclipse.linuxtools.ctf.core.event.types;
 import org.eclipse.linuxtools.ctf.core.trace.CTFReaderException;
 
 /**
- * <b><u>SequenceDeclaration</u></b> <br>
+ * A CTF sequence declaration.
+ * 
  * An array where the size is fixed but declared in the trace, unlike array
  * where it is declared with a literal
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class SequenceDeclaration implements IDeclaration {
 
index 65f6525145db7f11b7b678729780eb455171576d..6c95948ce746ef5bb3ec7f72c76aac15d2a28b8f 100644 (file)
@@ -16,7 +16,14 @@ import org.eclipse.linuxtools.ctf.core.trace.CTFReaderException;
 import org.eclipse.linuxtools.internal.ctf.core.event.io.BitBuffer;
 
 /**
- * <b><u>SequenceDefinition</u></b>
+ * A CTF sequence definition (a fixed-size array).
+ * 
+ * An array where the size is fixed but declared in the trace, unlike array
+ * where it is declared with a literal
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class SequenceDefinition extends Definition {
 
index d57229fca04c15e75b39243c173cfd0bd0af41be..c79e506af1e1fde51980a88d96002e46b5988970 100644 (file)
 package org.eclipse.linuxtools.ctf.core.event.types;
 
 /**
- * <b><u>StringDeclaration</u></b>
+ * A CTF string declaration.
+ * 
+ * Strings are an array of bytes of variable size and are terminated by a '\0'
+ * "NULL" character. Their encoding is described in the TSDL meta-data. In
+ * absence of encoding attribute information, the default encoding is UTF-8.
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class StringDeclaration implements IDeclaration {
 
index 2661f31253d76910473e29816268e6d3a00b30e5..33a26aa90cf5aa7a1d02843bf8dc834dc277fd27 100644 (file)
@@ -15,7 +15,15 @@ package org.eclipse.linuxtools.ctf.core.event.types;
 import org.eclipse.linuxtools.internal.ctf.core.event.io.BitBuffer;
 
 /**
- * <b><u>StringDefinition</u></b>
+ * A CTF string definition (similar to a C null-terminated byte array).
+ * 
+ * Strings are an array of bytes of variable size and are terminated by a '\0'
+ * "NULL" character. Their encoding is described in the TSDL meta-data. In
+ * absence of encoding attribute information, the default encoding is UTF-8.
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class StringDefinition extends Definition {
 
index 9bc93a3f6ab207f85723a6910a14e298737a7061..d4a01717fbada623d2fcf6edb7c5aa116d3b786f 100644 (file)
@@ -17,7 +17,15 @@ import java.util.LinkedList;
 import java.util.List;
 
 /**
- * <b><u>StructDeclaration</u></b>
+ * A CTF structure declaration.
+ * 
+ * A structure is similar to a C structure, it is a compound data type that
+ * contains other datatypes in fields. they are stored in an hashmap and indexed
+ * by names which are strings.
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class StructDeclaration implements IDeclaration {
 
index 2aa5f81a0f97cd4f63d4d67211b677143cb83e37..41fcb66c8081910e8acd139538e26829dfea2a6a 100644 (file)
@@ -19,7 +19,15 @@ import java.util.ListIterator;
 import org.eclipse.linuxtools.internal.ctf.core.event.io.BitBuffer;
 
 /**
- * <b><u>StructDefinition</u></b>
+ * A CTF structure definition (similar to a C structure).
+ * 
+ * A structure is similar to a C structure, it is a compound data type that
+ * contains other datatypes in fields. they are stored in an hashmap and indexed
+ * by names which are strings.
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class StructDefinition extends Definition implements IDefinitionScope {
 
index bd3d6ab23fbc4a1ca5c3641fbfb60b89d317314b..fcedc1bed2f094c267567680164d9a11b92a646e 100644 (file)
@@ -15,7 +15,15 @@ package org.eclipse.linuxtools.ctf.core.event.types;
 import java.util.HashMap;
 
 /**
- * <b><u>VariantDeclaration</u></b>
+ * A CTFC variant declaration.
+ * 
+ * A variant is similar to a C union, only taking the minimum size of the types,
+ * it is a compound data type that contains other datatypes in fields. they are
+ * stored in an hashmap and indexed by names which are strings.
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class VariantDeclaration implements IDeclaration {
 
index 4c249440b3f24c4c7df9aca3e341011b54805032..a1dfd95e50d43b1459eda9f15523951cb8481e51 100644 (file)
@@ -18,7 +18,15 @@ import java.util.Map;
 import org.eclipse.linuxtools.internal.ctf.core.event.io.BitBuffer;
 
 /**
- * <b><u>VariantDefinition</u></b>
+ * A CTF variant definition (similar to a C union).
+ * 
+ * A variant is similar to a C union, only taking the minimum size of the types,
+ * it is a compound data type that contains other datatypes in fields. they are
+ * stored in an hashmap and indexed by names which are strings.
+ *
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class VariantDefinition extends Definition implements IDefinitionScope {
 
index 58c26e736481c280ed29800f62f5f3ce43b98e3c..c3499eaf68bbf8f7f60388ea4c284c8bc2ebf594 100644 (file)
@@ -14,9 +14,9 @@ package org.eclipse.linuxtools.ctf.core.trace;
 /**
  * General exception that is thrown when there is a problem somewhere with the
  * CTF trace reader.
- *
- * @author alexmont
- *
+ * 
+ * @version 1.0
+ * @author Alexandre Montplaisir
  */
 public class CTFReaderException extends Exception {
 
index 91fcd596ecb2e3ff7865a22a1b281487134b0718..5ef907552e220211c28239ce79def8a064e7fc5a 100644 (file)
@@ -49,8 +49,8 @@ import org.eclipse.linuxtools.internal.ctf.core.trace.StreamInput;
 import org.eclipse.linuxtools.internal.ctf.core.trace.StreamInputPacketIndex;
 
 /**
- * <b><u>CTFTrace</u></b>
- * <p>
+ * A CTF trace on the file system.
+ *
  * Represents a trace on the filesystem. It is responsible of parsing the
  * metadata, creating declarations data structures, indexing the event packets
  * (in other words, all the work that can be shared between readers), but the
index 7f127a4df70c0b1a559aaca0ce857be564f6f11f..8ac8c297eaa79f2872953878e6b3d338feab0dca 100644 (file)
@@ -24,9 +24,12 @@ import org.eclipse.linuxtools.internal.ctf.core.trace.StreamInput;
 import org.eclipse.linuxtools.internal.ctf.core.trace.StreamInputReaderTimestampComparator;
 
 /**
- * Reads the events of a trace.
+ * A CTF trace reader. Reads the events of a trace.
+ * 
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Alexandre Montplaisir
  */
-
 public class CTFTraceReader {
 
     // ------------------------------------------------------------------------
index f28373dc613dd152205e33018b091ab7b6a54607..d7d720efc0159bc9547f5b14b570842c97430dcd 100644 (file)
@@ -36,9 +36,11 @@ import org.eclipse.linuxtools.internal.ctf.core.event.metadata.IOStructGen;
 import org.eclipse.linuxtools.internal.ctf.core.event.metadata.exceptions.ParseException;
 
 /**
- * <b><u>Metadata</u></b>
- * <p>
- * Represents a metadata file
+ * The CTF trace metadata file
+ * 
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class Metadata {
 
index 271e4995220e520f89f7446c7f3728fbde972a70..4c3c3447ddbdce0a7debd532adc41d5d18ecd354 100644 (file)
@@ -31,9 +31,11 @@ import org.eclipse.linuxtools.internal.ctf.core.trace.Stream;
 import org.eclipse.linuxtools.internal.ctf.core.trace.StreamInputPacketIndexEntry;
 
 /**
- * <b><u>StreamInputPacketReader</u></b>
- * <p>
- * Reads the events of a packet of a trace file.
+ * CTF trace packet reader. Reads the events of a packet of a trace file.
+ * 
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class StreamInputPacketReader implements IDefinitionScope {
 
index 40b8915ca1d0f614ac0ed8630ce17f8b7114e262..3c4b9b6b7e80ced33707b8c744a369b5df86222a 100644 (file)
@@ -20,9 +20,11 @@ import org.eclipse.linuxtools.internal.ctf.core.trace.StreamInput;
 import org.eclipse.linuxtools.internal.ctf.core.trace.StreamInputPacketIndexEntry;
 
 /**
- * <b><u>StreamInputReader</u></b>
- * <p>
- * Reads the events of a trace file.
+ * A CTF trace event reader. Reads the events of a trace file.
+ * 
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class StreamInputReader {
 
index 552dc5b2f16ed7a0f481233bfa293e51c2a52a20..90f8958606bbe43979ab10b3f9a94b631b94aee1 100644 (file)
@@ -15,9 +15,11 @@ package org.eclipse.linuxtools.ctf.core.trace;
 import java.util.UUID;
 
 /**
- * <b><u>Utils</u></b>
- * <p>
  * Various utilities.
+ * 
+ * @version 1.0
+ * @author Matthew Khouzam
+ * @author Simon Marchi
  */
 public class Utils {
 
index af2cde7b9c6b368e31681fec3d126ea4250d57c9..ab5365ea2785df3e634292ab99a190aa255bd7a1 100644 (file)
@@ -21,9 +21,7 @@ import org.eclipse.linuxtools.internal.lttng.jni.exception.JniException;
 import org.eclipse.linuxtools.internal.lttng.jni.exception.JniNoSuchEventException;
 
 /**
- * <b><u>JniEvent</u></b> <p>
- *
- * A JniEvent has the actual content that got traced by Lttng.<br>
+ * The LTTng event in its native (C) format.<br>
  * Provides access to the LttEvent C structure in java. <p>
  *
  * Most important fields in the JniEvent are :
@@ -36,6 +34,8 @@ import org.eclipse.linuxtools.internal.lttng.jni.exception.JniNoSuchEventExcepti
  * <b>NOTE</b><p>
  * This class is ABSTRACT, you need to extends it to support your specific LTTng version.<p>
  *
+ * @version 0.1
+ * @author William Bourque
  */
 public abstract class JniEvent extends Jni_C_Common implements Comparable<JniEvent>
 {
index 30f3da18710d60a77ba1347854f8d66e4bc601e5..206efaa98a1feac0f05010e78b024b54a4bb0060 100644 (file)
@@ -19,8 +19,6 @@ import org.eclipse.linuxtools.internal.lttng.jni.exception.JniException;
 import org.eclipse.linuxtools.internal.lttng.jni.exception.JniMarkerException;
 
 /**
- * <b><u>JniMarker</u></b><p>
- *
  * A JniMarker contain information how to interpret the unparsed content (payload) of an event.<br>
  * Each JniMarker contains several MarkerFields for each fields in the event's payload.
  *
@@ -37,6 +35,8 @@ import org.eclipse.linuxtools.internal.lttng.jni.exception.JniMarkerException;
  * This class is ABSTRACT, you need to extends it to support your specific LTTng version.<br>
  * Please look at the abstract functions to override at the bottom of this file.<p>
  *
+ * @version 0.1
+ * @author William Bourque
  */
 public abstract class JniMarker extends Jni_C_Common
 {
index 0bf906496d3ca25b0fd2ebfd28d32b312c80104c..984b970dfaa6b74b27562954c2bf23fa8b22ff53 100644 (file)
@@ -6,7 +6,6 @@ import org.eclipse.linuxtools.internal.lttng.jni.exception.JniMarkerFieldExcepti
 
 
 /**
- * <b><u>JniMarkerField</u></b> <p>
  * A JniMarkerField is one of the field of the unparsed content (payload) of an event. <p>
  *
  * Provides access to the marker_field C structure (from LTT) in java.<p>
@@ -20,6 +19,8 @@ import org.eclipse.linuxtools.internal.lttng.jni.exception.JniMarkerFieldExcepti
  * <b>NOTE</b><p>
  * This class is ABSTRACT, you need to extends it to support your specific LTTng version.<p>
  *
+ * @version 0.1
+ * @author William Bourque
  */
 public abstract class JniMarkerField extends Jni_C_Common
 {
index 6ad7e07a1c65bad143860d59c3008442457e08e8..7693e2fefe6e47a2b2ed050150fb151b88208d80 100644 (file)
@@ -18,8 +18,6 @@ import java.util.Iterator;
 import org.eclipse.linuxtools.internal.lttng.jni.common.Jni_C_Pointer;
 
 /**
- * <b><u>JniParser</u></b><p>
- *
  * JniParser is used to parse an event payload into something usable.<p>
  *
  * All methods are static, the parser shouldn't be instantiated.
@@ -27,6 +25,8 @@ import org.eclipse.linuxtools.internal.lttng.jni.common.Jni_C_Pointer;
  * <b>NOTE</b><p>
  * This class is ABSTRACT, you need to extends it to support your specific LTTng version.<p>
  *
+ * @version 0.1
+ * @author William Bourque
  */
 public abstract class JniParser extends Jni_C_Common
 {
index ca8cb07cfee4343a3ea581994f921eb0847100ec..b8c8f877d02d48fa13a3db85c7fb5639cf44c40b 100644 (file)
@@ -28,8 +28,6 @@ import org.eclipse.linuxtools.internal.lttng.jni.exception.JniTraceException;
 import org.eclipse.linuxtools.internal.lttng.jni.exception.JniTracefileWithoutEventException;
 
 /**
- * <b><u>JniTrace</u></b>
- * <p>
  * This is the top level class in the JNI. It provides access to the LttTrace C
  * structure in java.
  * <p>
@@ -44,7 +42,9 @@ import org.eclipse.linuxtools.internal.lttng.jni.exception.JniTracefileWithoutEv
  * This class is ABSTRACT, you need to extends it to support your specific LTTng
  * version.<br>
  * Please look at the abstract functions to override at the bottom of this file.
- * <p>
+ *
+ * @version 0.1
+ * @author William Bourque
  */
 public abstract class JniTrace extends Jni_C_Common {
 
index 6b0fd24f03effeb92148debdb64dc8d2b6bf4f79..01d89cffcd0726e4ce96912d86dc6c8ab1bd2b36 100644 (file)
@@ -23,8 +23,6 @@ import org.eclipse.linuxtools.internal.lttng.jni.exception.JniTracefileException
 import org.eclipse.linuxtools.internal.lttng.jni.exception.JniTracefileWithoutEventException;
 
 /**
- * <b><u>JniTracefile</u></b>
- * <p>
  * A tracefile own an event of a certain type.<br>
  * Provides access to the LttTracefile C structure in java.
  * <p>
@@ -39,6 +37,8 @@ import org.eclipse.linuxtools.internal.lttng.jni.exception.JniTracefileWithoutEv
  * This class is ABSTRACT, you need to extends it to support your specific LTTng version.<br>
  * Please look at the abstract functions to override at the bottom of this file.<p>
  *
+ * @version 0.1
+ * @author William Bourque
  */
 public abstract class JniTracefile extends Jni_C_Common
 {
index 7eeb170828523d68a749cd9cd5a2e2f34a97879c..4e0d2f43a16d789ddc5f3f94850e2e259cd46e5a 100644 (file)
@@ -16,13 +16,13 @@ import org.eclipse.linuxtools.internal.lttng.jni.common.Jni_C_Constant;
 
 
 /**
- * <b><u>Jni_C_Common</u></b>
- * <p>
  * Common constants and methods that should be shared between JNI objects.
  *
  * <b>NOTE</b><p>
  * This class is ABSTRACT, and will be extended by each LTTng structure (Trac, Tracefile, Event, ...)
  *
+ * @version 0.1
+ * @author William Bourque
  */
 public abstract class Jni_C_Common extends Jni_C_Constant
 {
index 8e17c8c4dc1f0e3e5723be7495c0e49b8133cbac..38c71bc465120057cc526579afb65e0baec50ad7 100644 (file)
@@ -20,13 +20,13 @@ import org.eclipse.linuxtools.internal.lttng.jni_v2_6.JniTrace_v2_6;
 import org.eclipse.linuxtools.lttng.jni.JniTrace;
 
 /**
- * <b><u>JniTraceFactory</u></b>
- * <p>
  * This class factory is responsible of returning the correct JniTrace implementation from a (valid) trace path.<p>
  *
  * The different version supported are listed below and the same version string are expected to be returned by JniTraceVersion.<br>
  * Each version need a different Lttv library so each need its liblttvtraceread-X.Y.so installed and available on the system.
  *
+ * @version 0.1
+ * @author William Bourque
  */
 public class JniTraceFactory {
 
index acbe25cfe10d9240d01a1961b1d1cdfd12b3bc71..fe5001eb7b0795e3b46921b2f222395bfea38d69 100644 (file)
@@ -17,14 +17,14 @@ import java.io.File;
 import org.eclipse.linuxtools.internal.lttng.jni.exception.JniTraceVersionException;
 
 /**
- * <b><u>JniTraceVersion</u></b>
- * <p>
  * This class is responsible of returning the correct version number of a trace at a certain given path.<p>
  *
  * The class will call the C library to get the correct version number from the trace.<p>
  *
  * Lttv library loader (liblttvtraceread_loader.so) and the default Lttv library (liblttvtraceread.so) must be installed on system and available to java.
  *
+ * @version 0.1
+ * @author William Bourque
  */
 public class JniTraceVersion {
 
index 2d16bcebb1c6375817e273170627fe5d9b6c1e9e..bfb89f1f28ffc748be1c07b83638aadf7341ad85 100644 (file)
@@ -15,6 +15,12 @@ package org.eclipse.linuxtools.tmf.core.filter.model;
 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;\r
 \r
 \r
+/**\r
+ * Filter node for the 'and' operation\r
+ * \r
+ * @version 1.0\r
+ * @author Patrick Tasse\r
+ */\r
 public class TmfFilterAndNode extends TmfFilterTreeNode {\r
 \r
        public static final String NODE_NAME = "AND"; //$NON-NLS-1$\r
index a89bb077baea95ebf2310aa2dd9d62d1caaffff0..c8a68c47cd15cf039eb8befb3c0d9c622a8a7bba 100644 (file)
@@ -21,6 +21,12 @@ import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
 import org.eclipse.linuxtools.tmf.core.event.TmfTimestamp;\r
 \r
 \r
+/**\r
+ * Filter node for the comparison operation\r
+ * \r
+ * @version 1.0\r
+ * @author Patrick Tasse\r
+ */\r
 public class TmfFilterCompareNode extends TmfFilterTreeNode {\r
 \r
        public static final String NODE_NAME = "COMPARE"; //$NON-NLS-1$\r
@@ -30,6 +36,9 @@ public class TmfFilterCompareNode extends TmfFilterTreeNode {
        public static final String TYPE_ATTR = "type"; //$NON-NLS-1$\r
        public static final String VALUE_ATTR = "value"; //$NON-NLS-1$\r
        \r
+       /**\r
+        * Supported comparison types\r
+        */\r
        public static enum Type {\r
                NUM,\r
                ALPHA,\r
index dce1cf09d7a6b86748ef0fdec6c035db091ef2d6..e57c93ce1a75901e1c3ff7301946cc6ea2cf4268 100644 (file)
@@ -17,7 +17,12 @@ import java.util.List;
 \r
 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;\r
 \r
-\r
+/**\r
+ * Filter node for the 'contains' operation\r
+ * \r
+ * @version 1.0\r
+ * @author Patrick Tasse\r
+ */\r
 public class TmfFilterContainsNode extends TmfFilterTreeNode {\r
 \r
        public static final String NODE_NAME = "CONTAINS"; //$NON-NLS-1$\r
index 52231427e4bff75e3dfee82c26dd6025ae93dcb7..37e5826f48982f75b20d8b6b4b727dbfc85ab241 100644 (file)
@@ -18,6 +18,12 @@ import java.util.List;
 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;\r
 \r
 \r
+/**\r
+ * Filter node for the '==' operation\r
+ * \r
+ * @version 1.0\r
+ * @author Patrick Tasse\r
+ */\r
 public class TmfFilterEqualsNode extends TmfFilterTreeNode {\r
 \r
        public static final String NODE_NAME = "EQUALS"; //$NON-NLS-1$\r
index 4de9d5ef739894185dd649ec479a41b34bf19fe4..9694665a213328744da52e2975e20590a28aaacd 100644 (file)
@@ -17,7 +17,12 @@ import java.util.List;
 \r
 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;\r
 \r
-\r
+/**\r
+ * Filter node for an event\r
+ * \r
+ * @version 1.0\r
+ * @author Patrick Tasse\r
+ */\r
 public class TmfFilterEventTypeNode extends TmfFilterTreeNode {\r
 \r
        public static final String NODE_NAME = "EVENTTYPE"; //$NON-NLS-1$\r
index 0d5c2e2069a36d62baa003066e35e8196f8dc76b..4a289274ac1bd90eadf9c490f196305dfa27c454 100644 (file)
@@ -19,7 +19,12 @@ import java.util.regex.PatternSyntaxException;
 \r
 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;\r
 \r
-\r
+/**\r
+ * Filter node for the regex match\r
+ * \r
+ * @version 1.0\r
+ * @author Patrick Tasse\r
+ */\r
 public class TmfFilterMatchesNode extends TmfFilterTreeNode {\r
 \r
        public static final String NODE_NAME = "MATCHES"; //$NON-NLS-1$\r
index 3aac38af92aa8ddd42949423835fbe983cd77ab6..af7d2428feab889d693b5e3b5edc06b5cf6aac30 100644 (file)
@@ -17,7 +17,12 @@ import java.util.List;
 \r
 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;\r
 \r
-\r
+/**\r
+ * Filter node for the event match operation\r
+ * \r
+ * @version 1.0\r
+ * @author Patrick Tasse\r
+ */\r
 public class TmfFilterNode extends TmfFilterTreeNode {\r
 \r
        public static final String NODE_NAME = "FILTER"; //$NON-NLS-1$\r
index 6fdf6e5f8411cd1c91057e5ef2b3c65b509ed6f1..0dfa91c4cd0b9b33d453fb38c782c5119afa5f21 100644 (file)
@@ -14,7 +14,12 @@ package org.eclipse.linuxtools.tmf.core.filter.model;
 \r
 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;\r
 \r
-\r
+/**\r
+ * Filter node for the 'or' operation\r
+ * \r
+ * @version 1.0\r
+ * @author Patrick Tasse\r
+ */\r
 public class TmfFilterOrNode extends TmfFilterTreeNode {\r
 \r
        public static final String NODE_NAME = "OR"; //$NON-NLS-1$\r
index 4577bb3d77dbd60d9c3b4104c0f118099b2c596e..b1216e72b4d03e925097923ccd4c76c44d341dc0 100644 (file)
@@ -17,7 +17,12 @@ import java.util.List;
 \r
 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;\r
 \r
-\r
+/**\r
+ * The Filter tree root node\r
+ * \r
+ * @version 1.0\r
+ * @author Patrick Tasse\r
+ */\r
 public class TmfFilterRootNode extends TmfFilterTreeNode {\r
        \r
        public static final String NODE_NAME = "ROOT"; //$NON-NLS-1$\r
index 7ae85a1b3c22eff0a51a7be05eb5a9223b641d2b..2c3b5a294ce6d971390f3ff57bda6bba45a5eace 100644 (file)
@@ -21,10 +21,11 @@ import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
 import org.eclipse.linuxtools.tmf.core.event.ITmfEventField;\r
 \r
 /**\r
- * <b><u>TmfFilterTreeNode</u></b>\r
- * <p>\r
- * The Filter Tree node\r
- * <p>\r
+ * The base class for the Filter tree nodes\r
+ * \r
+ * @version 1.0\r
+ * @author Yuriy Vashchuk\r
+ * @author Patrick Tasse\r
  */\r
 public abstract class TmfFilterTreeNode implements ITmfFilterTreeNode, Cloneable {\r
 \r
index f3ecc79d4aeb76caa44fda0b9f4a34734553d2d1..befbae1c3ab6b5cc90549d144b63260e5df5f855 100644 (file)
@@ -33,10 +33,11 @@ import org.xml.sax.SAXException;
 import org.xml.sax.helpers.DefaultHandler;\r
 \r
 /**\r
- * <b><u>FilterContentHandler</u></b>\r
- * <p>\r
- * The Filter SAX Content Handler\r
- * <p>\r
+ * The SAX Content Handler\r
+ * \r
+ * @version 1.0\r
+ * @author Yuriy Vashchuk\r
+ * @author Patrick Tasse\r
  */\r
 public class TmfFilterContentHandler extends DefaultHandler {\r
        \r
index b56a5d235e16afe89ff61fbb545595e954c4c71f..9b69276d33229b0245df48f3fb2f582188ff32a3 100644 (file)
@@ -23,10 +23,11 @@ import org.xml.sax.SAXException;
 import org.xml.sax.XMLReader;\r
 \r
 /**\r
- * <b><u>FilterXMLParser</u></b>\r
- * <p>\r
- * This is SAX based XML parser\r
- * <p>\r
+ * The SAX based XML parser\r
+ * \r
+ * @version 1.0\r
+ * @author Yuriy Vashchuk\r
+ * @author Patrick Tasse\r
  */\r
 public class TmfFilterXMLParser {\r
        \r
index 337f003b098543e320b2749ef05356a97580cd7e..3b7412b8700ade27344859687704c3ff25053a62 100644 (file)
@@ -38,10 +38,11 @@ import org.w3c.dom.Document;
 import org.w3c.dom.Element;\r
 \r
 /**\r
- * <b><u>FilterXMLParser</u></b>\r
- * <p>\r
- * This is SAX based XML parser\r
- * <p>\r
+ * The SAX based XML writer\r
+ * \r
+ * @version 1.0\r
+ * @author Yuriy Vashchuk\r
+ * @author Patrick Tasse\r
  */\r
 public class TmfFilterXMLWriter {\r
        \r
This page took 0.045087 seconds and 5 git commands to generate.