@Test public void new_encodeName_withDot() { String toEncode = "/data/a%2Eb"; String expected = "%2Fdata%2Fa%252Eb"; String actual = StringUtils.encodeName(toEncode); assertEquals(expected, actual); }
public static String encodeName(String string) { return encodeName(string, Node.getBannedCharacters()); }
StringUtils { public static String encodeName(String string) { return encodeName(string, Node.getBannedCharacters()); } }
StringUtils { public static String encodeName(String string) { return encodeName(string, Node.getBannedCharacters()); }  }
StringUtils { public static String encodeName(String string) { return encodeName(string, Node.getBannedCharacters()); }  static boolean isReference(String name); static String encodeName(String string); static String encodeName(String string, char[] encode); static String encodeNameOld(String string, char[] encode); static String decodeName(String string); static String decodeNameOld(String string); static String join(Collection<String> strings, String delimiter); static String join(Collection<String> strings,
                              boolean encode, String delimiter); static String join(String[] strings, String delimiter); static String join(String[] strings,
                              boolean encode,
                              String delimiter); static String[] split(String string, boolean decode, String delimiter); static String camelCaseToDisplay(String camelCase); }
StringUtils { public static String encodeName(String string) { return encodeName(string, Node.getBannedCharacters()); }  static boolean isReference(String name); static String encodeName(String string); static String encodeName(String string, char[] encode); static String encodeNameOld(String string, char[] encode); static String decodeName(String string); static String decodeNameOld(String string); static String join(Collection<String> strings, String delimiter); static String join(Collection<String> strings,
                              boolean encode, String delimiter); static String join(String[] strings, String delimiter); static String join(String[] strings,
                              boolean encode,
                              String delimiter); static String[] split(String string, boolean decode, String delimiter); static String camelCaseToDisplay(String camelCase);  }