code: public static String flatten(String uri)
  	{
  		URI normalized = URI.create( raw( uri ) ).normalize();
  		String path = normalized.getPath();
  		path = stripLeadingSlash( path );
  		path = path.replaceAll( "/", "-" );
  		return path;
  	}
docs: <p>flatten.</p>
  
  @param uri a {@link java.lang.String} object.
  @return a {@link java.lang.String} object.