code: public static String asDirPath(String path) {
  		String dirPath = path;
  		if (!path.equals(JawrConstant.URL_SEPARATOR)) {
  			dirPath = JawrConstant.URL_SEPARATOR + normalizePath(path) + JawrConstant.URL_SEPARATOR;
  		}
  		return dirPath;
  	}
docs: Normalizes a path and adds a separator at its start and its end.
  
  @param path
  the path
  @return the normalized path