src/main/java/com/visiansystems/psdcmd/PsdCmd.java
private static String mountName(String name) {
		name = name.replace("  ", " ");
		name = name.replace(' ', '-');
		name = name.replace('/', '#');
		name = name.replaceAll("[^#A-Za-z0-9_-]", "");
		name = name.replace('#', '/');
		name = name.replaceAll("^-", "");
		name = name.replaceAll("-$", "");
		name = name.replaceAll("--", "-");
		return name;
	}
/**
	 * mountName
	 * For a given name, remove all unused characters.
	 * @param name The original name.
	 * @return The transformed name.
	 */
mountName
For a given name, remove all unused characters.
@param name The original name.
@return The transformed name.
mountName For a given name remove all unused characters . @param name The original name . @return The transformed name .
private static String mountName(String name) {
		name = name.replace("  ", " ");
		name = name.replace(' ', '-');
		name = name.replace('/', '#');
		name = name.replaceAll("[^#A-Za-z0-9_-]", "");
		name = name.replace('#', '/');
		name = name.replaceAll("^-", "");
		name = name.replaceAll("-$", "");
		name = name.replaceAll("--", "-");
		return name;
	}
private static String mountName ( String name ) { name = name . replace ( "  " , " " ) ; name = name . replace ( ' ' , '-' ) ; name = name . replace ( '/' , '#' ) ; name = name . replaceAll ( "[^#A-Za-z0-9_-]" , "" ) ; name = name . replace ( '#' , '/' ) ; name = name . replaceAll ( "^-" , "" ) ; name = name . replaceAll ( "-$" , "" ) ; name = name . replaceAll ( "--" , "-" ) ; return name ; }
mountName
 For a given name, remove all unused characters.
mountName For a given name remove all unused characters .