@Test public void launderLog() { String laundry = Laundromat.launderLog(TEST_CONTENT); assertEquals(TEST_CONTENT_LOG_LAUNDRY, laundry); }
public static String launderLog(String value) { if (value == null) { return null; } return value.replaceAll("\\n", "<LF>"). replaceAll("\\r", "<CR>"). replaceAll("\\t", "<TAB>"). replaceAll("\\f", "<FF>"); }
Laundromat { public static String launderLog(String value) { if (value == null) { return null; } return value.replaceAll("\\n", "<LF>"). replaceAll("\\r", "<CR>"). replaceAll("\\t", "<TAB>"). replaceAll("\\f", "<FF>"); } }
Laundromat { public static String launderLog(String value) { if (value == null) { return null; } return value.replaceAll("\\n", "<LF>"). replaceAll("\\r", "<CR>"). replaceAll("\\t", "<TAB>"). replaceAll("\\f", "<FF>"); } private  Laundromat(); }
Laundromat { public static String launderLog(String value) { if (value == null) { return null; } return value.replaceAll("\\n", "<LF>"). replaceAll("\\r", "<CR>"). replaceAll("\\t", "<TAB>"). replaceAll("\\f", "<FF>"); } private  Laundromat(); static String launderInput(String value); static String launderQuery(String value); static String launderLog(String value); static Map<String, String[]> launderLog(Map<String, String[]> map); }
Laundromat { public static String launderLog(String value) { if (value == null) { return null; } return value.replaceAll("\\n", "<LF>"). replaceAll("\\r", "<CR>"). replaceAll("\\t", "<TAB>"). replaceAll("\\f", "<FF>"); } private  Laundromat(); static String launderInput(String value); static String launderQuery(String value); static String launderLog(String value); static Map<String, String[]> launderLog(Map<String, String[]> map);  }