org.silverpeas.web.util
Class URIUtil

java.lang.Object
  extended by org.silverpeas.web.util.URIUtil

public class URIUtil
extends Object

User: Yohann Chastagnier Date: 23/05/13


Constructor Summary
URIUtil()
           
 
Method Summary
static URI buildURI(String uriBase, String... uriPathParts)
          Gets the URI from a given URI base and URI path parts
static URI buildURI(javax.ws.rs.core.UriInfo uriInfo, String... uriPathParts)
          Gets the URI from a given UriInfo and URI path parts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URIUtil

public URIUtil()
Method Detail

buildURI

public static URI buildURI(javax.ws.rs.core.UriInfo uriInfo,
                           String... uriPathParts)
Gets the URI from a given UriInfo and URI path parts

Parameters:
uriInfo -
uriPathParts -
Returns:

buildURI

public static URI buildURI(String uriBase,
                           String... uriPathParts)
Gets the URI from a given URI base and URI path parts

Parameters:
uriBase -
uriPathParts -
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.