com.ibm.portal.resolver.service
Interface PocURIFactory

All Known Subinterfaces:
ActionPocService, CorPocServiceHome, PocService, PocServiceHome, PortalPocService, PortalPocServiceHome, PortletActionPocService, PortletEventPocService, PortletMimePocService, PortletPocService, PortletPocServiceHome, PortletRenderPocService, PortletResourcePocService

public interface PocURIFactory

Since:
6.1.0.2

Method Summary
 java.net.URI createURI(java.lang.String uri)
          Parses the URI string and creates a new URI object.
 java.net.URI createURI(java.lang.String scheme, java.lang.String schemeSpecificPart)
          Creates a new URI based on scheme and scheme specific part.
 java.net.URI createURI(java.net.URI uri)
          Creates a new URI based on an existing URI.
 

Method Detail

createURI

java.net.URI createURI(java.lang.String uri)
                       throws java.net.URISyntaxException,
                              java.io.IOException
Parses the URI string and creates a new URI object.

Parameters:
uri - the URI string, not null. The uri must define both valid, non-null and non-empty schema and schema specific parts
Returns:
the equivalent URI, not null
Throws:
java.net.URISyntaxException
java.io.IOException

createURI

java.net.URI createURI(java.lang.String scheme,
                       java.lang.String schemeSpecificPart)
                       throws java.net.URISyntaxException
Creates a new URI based on scheme and scheme specific part. This method is preferable to the constructor of the URI object because it potentially caches frequently used URIs.

Parameters:
scheme - scheme, not null
schemeSpecificPart - scheme specific part, not null
Returns:
the URI, not null
Throws:
java.net.URISyntaxException

createURI

java.net.URI createURI(java.net.URI uri)
Creates a new URI based on an existing URI. The purpose of this method is to provide a canonical mapping of URI object.s

Parameters:
uri - the original URI, not null. The uri must define both valid, non-null and non-empty schema and schema specific parts
Returns:
the equivalent URI, not null