@Test public void testSanitize() { assertEquals("us_states", NameUtil.sanitize("us states")); assertEquals("us_states", NameUtil.sanitize("us%20states")); assertEquals("us_states", NameUtil.sanitize("us states")); assertEquals("us_states", NameUtil.sanitize("us %20\\/#?states")); }
public static String sanitize(String name) { return sanitize(name, null); }
NameUtil { public static String sanitize(String name) { return sanitize(name, null); } }
NameUtil { public static String sanitize(String name) { return sanitize(name, null); }  }
NameUtil { public static String sanitize(String name) { return sanitize(name, null); }  static boolean isValid(String name); static String sanitize(String name); static String sanitize(String name, String replacement); static String sanitizeEnsureUnique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog); static String sanitizeEnsureUnique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog, String replacement); static String unique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog); }
NameUtil { public static String sanitize(String name) { return sanitize(name, null); }  static boolean isValid(String name); static String sanitize(String name); static String sanitize(String name, String replacement); static String sanitizeEnsureUnique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog); static String sanitizeEnsureUnique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog, String replacement); static String unique(String name, Class<? extends CatalogInfo> clazz, Catalog catalog);  }