Java Utililty Methods Path String Blur

List of utility methods to do Path String Blur

Description

The list of methods to do Path String Blur are organized into topic(s).

Method

StringblurPath(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();
...