@Test public void testUnhyphenation() { assertEquals("sortByPosition", TikaProcessor.unhyphenate("sort-by-position")); assertEquals("position", TikaProcessor.unhyphenate("position")); }
public static String unhyphenate(String paramName) { StringBuilder sb = new StringBuilder(); String[] words = paramName.split("-"); for (int i = 0; i < words.length; i++) { sb.append(i > 0 ? capitalize(words[i]) : words[i]); } return sb.toString(); }
TikaProcessor { public static String unhyphenate(String paramName) { StringBuilder sb = new StringBuilder(); String[] words = paramName.split("-"); for (int i = 0; i < words.length; i++) { sb.append(i > 0 ? capitalize(words[i]) : words[i]); } return sb.toString(); } }
TikaProcessor { public static String unhyphenate(String paramName) { StringBuilder sb = new StringBuilder(); String[] words = paramName.split("-"); for (int i = 0; i < words.length; i++) { sb.append(i > 0 ? capitalize(words[i]) : words[i]); } return sb.toString(); }  }
TikaProcessor { public static String unhyphenate(String paramName) { StringBuilder sb = new StringBuilder(); String[] words = paramName.split("-"); for (int i = 0; i < words.length; i++) { sb.append(i > 0 ? capitalize(words[i]) : words[i]); } return sb.toString(); }  @BuildStep void registerRuntimeInitializedClasses(BuildProducer<RuntimeInitializedClassBuildItem> resource); @BuildStep void registerTikaCoreResources(BuildProducer<NativeImageResourceBuildItem> resource); @BuildStep void registerTikaParsersResources(BuildProducer<NativeImageResourceBuildItem> resource); @BuildStep void registerPdfBoxResources(BuildProducer<NativeImageResourceDirectoryBuildItem> resource); static Map<String, List<TikaParserParameter>> getSupportedParserConfig(Optional<String> tikaConfigPath,
            Optional<String> requiredParsers,
            Map<String, Map<String, String>> parserParamMaps,
            Map<String, String> parserAbbreviations); static String unhyphenate(String paramName); }
TikaProcessor { public static String unhyphenate(String paramName) { StringBuilder sb = new StringBuilder(); String[] words = paramName.split("-"); for (int i = 0; i < words.length; i++) { sb.append(i > 0 ? capitalize(words[i]) : words[i]); } return sb.toString(); }  @BuildStep void registerRuntimeInitializedClasses(BuildProducer<RuntimeInitializedClassBuildItem> resource); @BuildStep void registerTikaCoreResources(BuildProducer<NativeImageResourceBuildItem> resource); @BuildStep void registerTikaParsersResources(BuildProducer<NativeImageResourceBuildItem> resource); @BuildStep void registerPdfBoxResources(BuildProducer<NativeImageResourceDirectoryBuildItem> resource); static Map<String, List<TikaParserParameter>> getSupportedParserConfig(Optional<String> tikaConfigPath,
            Optional<String> requiredParsers,
            Map<String, Map<String, String>> parserParamMaps,
            Map<String, String> parserAbbreviations); static String unhyphenate(String paramName);  }