@Test (expected = RuntimeException.class) public void testStaticEscapeStringsNoKey() { Map<String, String> staticStrings; staticStrings = new HashMap<>(); TimeZone utcTimeZone = TimeZone.getTimeZone("UTC"); String filePath = "%[abcdefg]/%[IP]/%[FQDN]"; String realPath = BucketPath.escapeString(filePath, headers, utcTimeZone, false, Calendar.HOUR_OF_DAY, 12, false); }
public static String escapeString(String in, Map<String, String> headers) { return escapeString(in, headers, false, 0, 0); }
BucketPath { public static String escapeString(String in, Map<String, String> headers) { return escapeString(in, headers, false, 0, 0); } }
BucketPath { public static String escapeString(String in, Map<String, String> headers) { return escapeString(in, headers, false, 0, 0); }  }
BucketPath { public static String escapeString(String in, Map<String, String> headers) { return escapeString(in, headers, false, 0, 0); }  @VisibleForTesting @Deprecated static boolean containsTag(String in); @VisibleForTesting @Deprecated static String expandShorthand(char c); @VisibleForTesting @Deprecated static String replaceShorthand(char c, Map<String, String> headers); @VisibleForTesting @Deprecated static String replaceShorthand(char c, Map<String, String> headers,
      boolean needRounding, int unit, int roundDown); @VisibleForTesting @Deprecated static String replaceShorthand(char c, Map<String, String> headers,
      TimeZone timeZone, boolean needRounding, int unit, int roundDown,
      boolean useLocalTimestamp); static String escapeString(String in, Map<String, String> headers); static String escapeString(String in, Map<String, String> headers,
      boolean needRounding, int unit, int roundDown); static String escapeString(String in, Map<String, String> headers,
      TimeZone timeZone, boolean needRounding, int unit, int roundDown,
      boolean useLocalTimeStamp); @VisibleForTesting @Deprecated static Map<String, String> getEscapeMapping(String in,
      Map<String, String> headers); @VisibleForTesting @Deprecated static Map<String, String> getEscapeMapping(String in,
      Map<String, String> headers, boolean needRounding,
      int unit, int roundDown); @VisibleForTesting static void setClock(Clock clk); @VisibleForTesting static Clock getClock(); }
BucketPath { public static String escapeString(String in, Map<String, String> headers) { return escapeString(in, headers, false, 0, 0); }  @VisibleForTesting @Deprecated static boolean containsTag(String in); @VisibleForTesting @Deprecated static String expandShorthand(char c); @VisibleForTesting @Deprecated static String replaceShorthand(char c, Map<String, String> headers); @VisibleForTesting @Deprecated static String replaceShorthand(char c, Map<String, String> headers,
      boolean needRounding, int unit, int roundDown); @VisibleForTesting @Deprecated static String replaceShorthand(char c, Map<String, String> headers,
      TimeZone timeZone, boolean needRounding, int unit, int roundDown,
      boolean useLocalTimestamp); static String escapeString(String in, Map<String, String> headers); static String escapeString(String in, Map<String, String> headers,
      boolean needRounding, int unit, int roundDown); static String escapeString(String in, Map<String, String> headers,
      TimeZone timeZone, boolean needRounding, int unit, int roundDown,
      boolean useLocalTimeStamp); @VisibleForTesting @Deprecated static Map<String, String> getEscapeMapping(String in,
      Map<String, String> headers); @VisibleForTesting @Deprecated static Map<String, String> getEscapeMapping(String in,
      Map<String, String> headers, boolean needRounding,
      int unit, int roundDown); @VisibleForTesting static void setClock(Clock clk); @VisibleForTesting static Clock getClock(); static final String TAG_REGEX; static final Pattern tagPattern; }