@Test public void testJavaEscaping() { assertEquals("\\\\hello\\\"world'space/", EncodingUtils.escapeJava("\\hello\"world'space/")); }
public static String escapeJava(String str) { return escapeJavaStyleString(str, false); }
EncodingUtils { public static String escapeJava(String str) { return escapeJavaStyleString(str, false); } }
EncodingUtils { public static String escapeJava(String str) { return escapeJavaStyleString(str, false); } private  EncodingUtils(); }
EncodingUtils { public static String escapeJava(String str) { return escapeJavaStyleString(str, false); } private  EncodingUtils(); static String escapeBackticks(String s); static String escapeSingleQuotes(String s); static String escapeIdentifier(String s); static String encodeObjectToString(Serializable obj); static T decodeStringToObject(String base64String, Class<T> baseClass); static T decodeStringToObject(String base64String, Class<T> baseClass, ClassLoader classLoader); static Class<?> loadClass(String qualifiedName, ClassLoader classLoader); static Class<?> loadClass(String qualifiedName); static String encodeBytesToBase64(byte[] bytes); static byte[] decodeBase64ToBytes(String base64); static String encodeStringToBase64(String string); static String decodeBase64ToString(String base64); static byte[] md5(String string); static String hex(String string); static String hex(byte[] bytes); static String objectToString(Object object); static String repeat(final String str, final int repeat); static String repeat(final char ch, final int repeat); static String escapeJava(String str); }
EncodingUtils { public static String escapeJava(String str) { return escapeJavaStyleString(str, false); } private  EncodingUtils(); static String escapeBackticks(String s); static String escapeSingleQuotes(String s); static String escapeIdentifier(String s); static String encodeObjectToString(Serializable obj); static T decodeStringToObject(String base64String, Class<T> baseClass); static T decodeStringToObject(String base64String, Class<T> baseClass, ClassLoader classLoader); static Class<?> loadClass(String qualifiedName, ClassLoader classLoader); static Class<?> loadClass(String qualifiedName); static String encodeBytesToBase64(byte[] bytes); static byte[] decodeBase64ToBytes(String base64); static String encodeStringToBase64(String string); static String decodeBase64ToString(String base64); static byte[] md5(String string); static String hex(String string); static String hex(byte[] bytes); static String objectToString(Object object); static String repeat(final String str, final int repeat); static String repeat(final char ch, final int repeat); static String escapeJava(String str);  }