@Test public void encode() { String s = "% . / \\ ? * : | < > $ @"; s = StringUtils.encodeName(s); assertEquals("%25 %2E %2F %5C %3F %2A %3A %7C %3C %3E %24 %40", s); }
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);  }