code: private static String hyphenatedToCamelCase(String s) {
          Matcher m = Pattern.compile("(?:^|-)([a-z])").matcher(s);
          StringBuilder b = new StringBuilder();
          int last = 0;
          for (; m.find(); last = m.end()) {
              b.append(s, last, m.start()).append(Character.toUpperCase(m.group(1).charAt(0)));
          }
          return b.append(s, last, s.length()).toString();
      }
docs: Convert a string like "abc-def-ghi" to "AbcDefGhi".