@Test public void convertsSnakeToPascalCase() { assertThat(CaseUtils.snakeToPascalCase("foo_bar"), equalTo("FooBar")); assertThat(CaseUtils.snakeToPascalCase("Foo_bar"), equalTo("FooBar")); assertThat(CaseUtils.snakeToPascalCase("__foo_bar"), equalTo("FooBar")); }
public static String snakeToPascalCase(String str) { return toCamelCase(str, true, '_'); }
CaseUtils { public static String snakeToPascalCase(String str) { return toCamelCase(str, true, '_'); } }
CaseUtils { public static String snakeToPascalCase(String str) { return toCamelCase(str, true, '_'); } private  CaseUtils(); }
CaseUtils { public static String snakeToPascalCase(String str) { return toCamelCase(str, true, '_'); } private  CaseUtils(); static String snakeToPascalCase(String str); static String snakeToCamelCase(String str); static String toCamelCase(String str); static String toPascalCase(String str); static String toCamelCase(String str, final boolean capitalizeFirstLetter, final char... delimiters); static String toSnakeCase(String word); }
CaseUtils { public static String snakeToPascalCase(String str) { return toCamelCase(str, true, '_'); } private  CaseUtils(); static String snakeToPascalCase(String str); static String snakeToCamelCase(String str); static String toCamelCase(String str); static String toPascalCase(String str); static String toCamelCase(String str, final boolean capitalizeFirstLetter, final char... delimiters); static String toSnakeCase(String word);  }