|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PocURIFactory
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 |
---|
java.net.URI createURI(java.lang.String uri) throws java.net.URISyntaxException, java.io.IOException
URI
object.
uri
- the URI string, not null
. The uri must define
both valid, non-null and non-empty schema and schema specific
parts
null
java.net.URISyntaxException
java.io.IOException
java.net.URI createURI(java.lang.String scheme, java.lang.String schemeSpecificPart) throws java.net.URISyntaxException
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.
scheme
- scheme, not null
schemeSpecificPart
- scheme specific part, not null
null
java.net.URISyntaxException
java.net.URI createURI(java.net.URI uri)
URI
based on an existing URI. The purpose of this
method is to provide a canonical mapping of URI
object.s
uri
- the original URI, not null
. The uri must define
both valid, non-null and non-empty schema and schema specific
parts
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |