List of utility methods to do Path String Blur
String | blurPath(String s) takes in a path string like a/b/c and blurs only the last component of it if (!BLUR) return s; if (s == null || s.length() <= 1) return s; StringTokenizer st = new StringTokenizer(s, File.separator); List<String> components = new ArrayList<String>(); while (st.hasMoreTokens()) { String x = st.nextToken(); ... |