APIdia Launch Partner
Top Constructors Methods
jdk.jfr.internal.query

public Class FieldFormatter

extends Object
Class Inheritance
Imports
java.time.Duration, .Instant, java.time.temporal.ChronoUnit, java.util.Collection, .StringJoiner, jdk.jfr.consumer.RecordedClass, .RecordedClassLoader, .RecordedFrame, .RecordedMethod, .RecordedStackTrace, .RecordedThread, .RecordedThreadGroup, jdk.jfr.internal.util.ValueFormatter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String
format(Field field, Object object)

private static String
format(Field field, Object object, boolean compact)

public static String
formatCompact(Field field, Object object)

private static boolean
private static boolean
isFormatting(char c)

private static String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FieldFormatterback to summary
public FieldFormatter()

Method Detail

formatback to summary
public static String format(Field field, Object object)
formatback to summary
private static String format(Field field, Object object, boolean compact)
formatCompactback to summary
public static String formatCompact(Field field, Object object)
hasFormattingback to summary
private static boolean hasFormatting(String s)
isFormattingback to summary
private static boolean isFormatting(char c)
stripFormattingback to summary
private static String stripFormatting(String text)