config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/util/PrettyURLBuilder.java
public String build(final UrlMapping mapping, final boolean encodeUrl, final Object... parameters)
   {
      List<UIParameter> list = new ArrayList<UIParameter>();
      if(parameters != null)
      {
         for (Object e : parameters)
         {
            UIParameter p = new UIParameter();
            if (e != null)
            {
               p.setValue(e.toString());
            }
            list.add(p);
         }
      }
      return build(mapping, encodeUrl, list);
   }
public String build(final UrlMapping mapping, final boolean encodeUrl, final Object... parameters)
   {
      List<UIParameter> list = new ArrayList<UIParameter>();
      if(parameters != null)
      {
         for (Object e : parameters)
         {
            UIParameter p = new UIParameter();
            if (e != null)
            {
               p.setValue(e.toString());
            }
            list.add(p);
         }
      }
      return build(mapping, encodeUrl, list);
   }
public String build ( final UrlMapping mapping , final boolean encodeUrl , final Object ... parameters ) { List < UIParameter > list = new ArrayList < UIParameter > ( ) ; if ( parameters != null ) { for ( Object e : parameters ) { UIParameter p = new UIParameter ( ) ; if ( e != null ) { p . setValue ( e . toString ( ) ) ; } list . add ( p ) ; } } return build ( mapping , encodeUrl , list ) ; }
Build a Pretty URL for the given UrlMapping and parameters.

@since 3.2.0
Build a Pretty URL for the given UrlMapping and parameters .