Class EventAppearance
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.EventAppearance
-
public class EventAppearance extends java.lang.Object
Contain algorithmic conversion and overrides for the display name of event path segments. Also, algorithmic generation and overrides for the color of event types. For these purposes, a case insensitive matching of the path is made. (That is, it is converted to the canonical lower case representation.)
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<java.lang.String,java.lang.String>
HUMAN_NAMES
private static java.util.regex.Pattern
PATH_SPLIT_REGEX
-
Constructor Summary
Constructors Constructor Description EventAppearance()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String[]
getHumanSegmentArray(java.lang.String path)
private static java.lang.String
getHumanSegmentName(java.lang.String path)
static java.lang.String
humanifyName(java.lang.String identifier)
private static java.util.Properties
loadProperties(java.lang.String fileName)
-
-
-
Method Detail
-
loadProperties
private static java.util.Properties loadProperties(java.lang.String fileName)
-
getHumanSegmentArray
public static java.lang.String[] getHumanSegmentArray(java.lang.String path)
-
getHumanSegmentName
private static java.lang.String getHumanSegmentName(java.lang.String path)
-
humanifyName
public static java.lang.String humanifyName(java.lang.String identifier)
-
-