Class ParserToolkit
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.util.ParserToolkit
-
public final class ParserToolkit extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidassertValue(long value, long accepted)static voidassertValue(Object value, Object accepted)static voidassertValue(Object value, Object... accepted)static <T> Tget(T[] elements, int index)static IMCFrame.TypeparseFrameType(String type)
-
-
-
Method Detail
-
get
public static <T> T get(T[] elements, int index) throws org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException- Throws:
org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
-
assertValue
public static void assertValue(long value, long accepted) throws org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException- Throws:
org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
-
assertValue
public static void assertValue(Object value, Object accepted) throws org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
- Throws:
org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
-
assertValue
public static void assertValue(Object value, Object... accepted) throws org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
- Throws:
org.openjdk.jmc.flightrecorder.internal.InvalidJfrFileException
-
parseFrameType
public static IMCFrame.Type parseFrameType(String type)
-
-