test_class.file: flink-core/src/test/java/org/apache/flink/util/StringUtilsTest.java
test_class.identifier: StringUtilsTest
test_class.superclass: extends TestLogger
test_case.body: @Test
  	public void testControlCharacters() {
  		String testString = "\b \t \n \f \r default";
  		String controlString = StringUtils.showControlCharacters(testString);
  		assertEquals("\\b \\t \\n \\f \\r default", controlString);
  	}
test_case.class_method_signature: StringUtilsTest.testControlCharacters()
test_case.full_signature: @Test public void testControlCharacters()
test_case.identifier: testControlCharacters
test_case.invocations: showControlCharacters assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testControlCharacters()
focal_class.file: flink-core/src/main/java/org/apache/flink/util/StringUtils.java
focal_class.identifier: StringUtils
focal_class.class_method_signature: StringUtils.StringUtils()
focal_class.full_signature: private  StringUtils()
focal_class.identifier: StringUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  StringUtils()
focal_class.class_method_signature: StringUtils.stringifyException(final Throwable e)
focal_class.full_signature: public static String stringifyException(final Throwable e)
focal_class.identifier: stringifyException
focal_class.modifiers: public static
focal_class.parameters: (final Throwable e)
focal_class.return: String
focal_class.signature: String stringifyException(final Throwable e)
focal_class.class_method_signature: StringUtils.byteToHexString(final byte[] bytes, final int start, final int end)
focal_class.full_signature: public static String byteToHexString(final byte[] bytes, final int start, final int end)
focal_class.identifier: byteToHexString
focal_class.modifiers: public static
focal_class.parameters: (final byte[] bytes, final int start, final int end)
focal_class.return: String
focal_class.signature: String byteToHexString(final byte[] bytes, final int start, final int end)
focal_class.class_method_signature: StringUtils.byteToHexString(final byte[] bytes)
focal_class.full_signature: public static String byteToHexString(final byte[] bytes)
focal_class.identifier: byteToHexString
focal_class.modifiers: public static
focal_class.parameters: (final byte[] bytes)
focal_class.return: String
focal_class.signature: String byteToHexString(final byte[] bytes)
focal_class.class_method_signature: StringUtils.hexStringToByte(final String hex)
focal_class.full_signature: public static byte[] hexStringToByte(final String hex)
focal_class.identifier: hexStringToByte
focal_class.modifiers: public static
focal_class.parameters: (final String hex)
focal_class.return: byte[]
focal_class.signature: byte[] hexStringToByte(final String hex)
focal_class.class_method_signature: StringUtils.escapeHtml(String str)
focal_class.full_signature: public static String escapeHtml(String str)
focal_class.identifier: escapeHtml
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String escapeHtml(String str)
focal_class.class_method_signature: StringUtils.arrayAwareToString(Object o)
focal_class.full_signature: public static String arrayAwareToString(Object o)
focal_class.identifier: arrayAwareToString
focal_class.modifiers: public static
focal_class.parameters: (Object o)
focal_class.return: String
focal_class.signature: String arrayAwareToString(Object o)
focal_class.class_method_signature: StringUtils.arrayToString(Object array)
focal_class.full_signature: public static String arrayToString(Object array)
focal_class.identifier: arrayToString
focal_class.modifiers: public static
focal_class.parameters: (Object array)
focal_class.return: String
focal_class.signature: String arrayToString(Object array)
focal_class.class_method_signature: StringUtils.showControlCharacters(String str)
focal_class.full_signature: public static String showControlCharacters(String str)
focal_class.identifier: showControlCharacters
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String showControlCharacters(String str)
focal_class.class_method_signature: StringUtils.getRandomString(Random rnd, int minLength, int maxLength)
focal_class.full_signature: public static String getRandomString(Random rnd, int minLength, int maxLength)
focal_class.identifier: getRandomString
focal_class.modifiers: public static
focal_class.parameters: (Random rnd, int minLength, int maxLength)
focal_class.return: String
focal_class.signature: String getRandomString(Random rnd, int minLength, int maxLength)
focal_class.class_method_signature: StringUtils.getRandomString(Random rnd, int minLength, int maxLength, char minValue, char maxValue)
focal_class.full_signature: public static String getRandomString(Random rnd, int minLength, int maxLength, char minValue, char maxValue)
focal_class.identifier: getRandomString
focal_class.modifiers: public static
focal_class.parameters: (Random rnd, int minLength, int maxLength, char minValue, char maxValue)
focal_class.return: String
focal_class.signature: String getRandomString(Random rnd, int minLength, int maxLength, char minValue, char maxValue)
focal_class.class_method_signature: StringUtils.writeNullableString(String str, DataOutputView out)
focal_class.full_signature: public static void writeNullableString(String str, DataOutputView out)
focal_class.identifier: writeNullableString
focal_class.modifiers: public static
focal_class.parameters: (String str, DataOutputView out)
focal_class.return: void
focal_class.signature: void writeNullableString(String str, DataOutputView out)
focal_class.class_method_signature: StringUtils.readNullableString(DataInputView in)
focal_class.full_signature: public static String readNullableString(DataInputView in)
focal_class.identifier: readNullableString
focal_class.modifiers: public static
focal_class.parameters: (DataInputView in)
focal_class.return: String
focal_class.signature: String readNullableString(DataInputView in)
focal_method.body: public static String showControlCharacters(String str) {
  		int len = str.length();
  		StringBuilder sb = new StringBuilder();
  
  		for (int i = 0; i < len; i += 1) {
  			char c = str.charAt(i);
  			switch (c) {
  			case '\b':
  				sb.append("\\b");
  				break;
  			case '\t':
  				sb.append("\\t");
  				break;
  			case '\n':
  				sb.append("\\n");
  				break;
  			case '\f':
  				sb.append("\\f");
  				break;
  			case '\r':
  				sb.append("\\r");
  				break;
  			default:
  				sb.append(c);
  			}
  		}
  
  		return sb.toString();
  	}
focal_method.class_method_signature: StringUtils.showControlCharacters(String str)
focal_method.full_signature: public static String showControlCharacters(String str)
focal_method.identifier: showControlCharacters
focal_method.invocations: length charAt append append append append append append toString
focal_method.modifiers: public static
focal_method.parameters: (String str)
focal_method.return: String
focal_method.signature: String showControlCharacters(String str)