Class VcsUserUtil


  • public class VcsUserUtil
    extends Object
    • Constructor Detail

      • VcsUserUtil

        public VcsUserUtil()
    • Method Detail

      • toExactString

        @NotNull
        public static String toExactString​(@NotNull
                                           VcsUser user)
      • isSamePerson

        public static boolean isSamePerson​(@NotNull
                                           VcsUser user1,
                                           @NotNull
                                           VcsUser user2)
      • getShortPresentation

        @NotNull
        public static String getShortPresentation​(@NotNull
                                                  VcsUser user)
      • getUserName

        @NotNull
        public static String getUserName​(@NotNull
                                         String name,
                                         @NotNull
                                         String email)
      • getNameFromEmail

        @Nullable
        public static String getNameFromEmail​(@NotNull
                                              String email)
      • getNameInStandardForm

        @NotNull
        public static String getNameInStandardForm​(@NotNull
                                                   String name)
      • getFirstAndLastName

        @Nullable
        public static Couple<String> getFirstAndLastName​(@NotNull
                                                         String name)
      • nameToLowerCase

        @NotNull
        public static String nameToLowerCase​(@NotNull
                                             String name)
      • capitalizeName

        @NotNull
        public static String capitalizeName​(@NotNull
                                            String name)
      • emailToLowerCase

        @NotNull
        public static String emailToLowerCase​(@NotNull
                                              String email)