@Test public void decode() { String s = "% %25 %2E %2F %5C %3F %2A %3A %7C %3C %3E %24 %40 %25"; s = StringUtils.decodeName(s); assertEquals("% % . / \\ ? * : | < > $ @ %", s); }
public static String decodeName(String string) { if (string == null) { return null; } String tmp = decodeNameOld(string); return tmp.replaceAll("%25", "%"); }
StringUtils { public static String decodeName(String string) { if (string == null) { return null; } String tmp = decodeNameOld(string); return tmp.replaceAll("%25", "%"); } }
StringUtils { public static String decodeName(String string) { if (string == null) { return null; } String tmp = decodeNameOld(string); return tmp.replaceAll("%25", "%"); }  }
StringUtils { public static String decodeName(String string) { if (string == null) { return null; } String tmp = decodeNameOld(string); return tmp.replaceAll("%25", "%"); }  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 decodeName(String string) { if (string == null) { return null; } String tmp = decodeNameOld(string); return tmp.replaceAll("%25", "%"); }  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);  }