agave-files/files-core/src/main/java/org/iplantc/service/io/util/ServiceUtils.java
/**
	 * Determines of the given string is an alphanumeric string. All job names, 
	 * research project names, etc must be alphanumeric strings. This requirement
	 * is imposed for two reasons.  First, directory and file names are derived
	 * from the research project and job names, thus they must conform to *nix
	 * file naming rules. Second, we need to use non-alphanumeric characters to
	 * delimit query terms for searching.
	 * 
	 * @param s
	 * @return
	 */
Determines of the given string is an alphanumeric string. All job names,
research project names, etc must be alphanumeric strings. This requirement
is imposed for two reasons.  First, directory and file names are derived
from the research project and job names, thus they must conform to *nix
file naming rules. Second, we need to use non-alphanumeric characters to
delimit query terms for searching.

@param s
@return
Determines of the given string is an alphanumeric string . All job names research project names etc must be alphanumeric strings . This requirement is imposed for two reasons . First directory and file names are derived from the research project and job names thus they must conform to * nix file naming rules . Second we need to use non - alphanumeric characters to delimit query terms for searching . @param s @return
public static boolean isAlphaNumeric(String s) {
		if (!isValid(s)) return false;
	    boolean valid = s != null &&
                s.indexOf(":") <= -1 &&
                s.indexOf(";") <= -1 &&
                s.indexOf(",") <= -1 &&
                s.indexOf(" ") <= -1 &&
                s.indexOf("\\") <= -1;
	    /*||
	            s.indexOf("/") > -1 ||
	            s.indexOf("%") > -1 ||
	            s.indexOf("$") > -1 ||
	            s.indexOf("@") > -1 ||
	            s.indexOf("!") > -1 ||
	            s.indexOf("^") > -1 ||
	            s.indexOf("&") > -1 ||
	            s.indexOf("*") > -1 ||
	            s.indexOf("(") > -1 ||
	            s.indexOf(")") > -1 ||
	            s.indexOf("{") > -1 ||
	            s.indexOf("}") > -1 ||
	            s.indexOf("|") > -1 ||
	            s.indexOf("'") > -1 ||
	            s.indexOf("\"") > -1 ||
	            s.indexOf("~") > -1 ||
	            s.indexOf("`") > -1 ||
	            s.indexOf("#") > -1 ||
	            s.indexOf(".") > -1 ||
	            s.indexOf("?") > -1 ||
	            s.indexOf("<") > -1 ||
	            s.indexOf(">") > -1 ||
	            //s.indexOf("=") > -1 ||
	            s.indexOf("+") > -1*/
        return valid;
	}
public static boolean isAlphaNumeric ( String s ) { if ( ! isValid ( s ) ) return false ; boolean valid = s != null && s . indexOf ( ":" ) <= - 1 && s . indexOf ( ";" ) <= - 1 && s . indexOf ( "," ) <= - 1 && s . indexOf ( " " ) <= - 1 && s . indexOf ( "\\" ) <= - 1 ; /*||
	            s.indexOf("/") > -1 ||
	            s.indexOf("%") > -1 ||
	            s.indexOf("$") > -1 ||
	            s.indexOf("@") > -1 ||
	            s.indexOf("!") > -1 ||
	            s.indexOf("^") > -1 ||
	            s.indexOf("&") > -1 ||
	            s.indexOf("*") > -1 ||
	            s.indexOf("(") > -1 ||
	            s.indexOf(")") > -1 ||
	            s.indexOf("{") > -1 ||
	            s.indexOf("}") > -1 ||
	            s.indexOf("|") > -1 ||
	            s.indexOf("'") > -1 ||
	            s.indexOf("\"") > -1 ||
	            s.indexOf("~") > -1 ||
	            s.indexOf("`") > -1 ||
	            s.indexOf("#") > -1 ||
	            s.indexOf(".") > -1 ||
	            s.indexOf("?") > -1 ||
	            s.indexOf("<") > -1 ||
	            s.indexOf(">") > -1 ||
	            //s.indexOf("=") > -1 ||
	            s.indexOf("+") > -1*/ return valid ; }
Determines of the given string is an alphanumeric string.
Determines of the given string is an alphanumeric string .
//s.indexOf("#") > -1 ||