private static String unescapePathComponent(String name){
  return name.replaceAll("\\\\(.)","$1");
}

private static String unescapePathComponent ( String name ) { return name . replaceAll ( "\\\\(.)" , "$1" ) ; }
convert a path component that contains backslash escape sequences to a literal string . this is necessary when you want to explicitly refer to a path that contains globber metacharacters .
