Class LabelParser


  • public class LabelParser
    extends Object
    • Constructor Detail

      • LabelParser

        public LabelParser()
    • Method Detail

      • isValidLabelName

        public static boolean isValidLabelName​(String name)
      • getFirstInvalidLabelCharacter

        public static String getFirstInvalidLabelCharacter​(String name)
      • replaceInvalidCharacters

        @NotNull
        public static @NotNull String replaceInvalidCharacters​(@NotNull
                                                               @NotNull String label,
                                                               @NotNull
                                                               @NotNull String replacement)
      • extractLabelsFromLabellings

        @NotNull
        public static @NotNull List<Label> extractLabelsFromLabellings​(@Nullable
                                                                       @Nullable List<Labelling> labellings)
      • renderLabels

        @NotNull
        public static @NotNull String renderLabels​(@NotNull
                                                   @NotNull Collection<Label> labels)