public class URIUtils
extends java.lang.Object
Constructor and Description |
---|
URIUtils() |
Modifier and Type | Method and Description |
---|---|
static java.net.URI |
createUri(java.lang.String sUri,
java.lang.String defaultSchema,
int deafultPort)
It creates an URI from a String.
|
public static java.net.URI createUri(java.lang.String sUri, java.lang.String defaultSchema, int deafultPort) throws java.net.URISyntaxException
sUri
- The uri like a stringdefaultSchema
- The deafulet schemadeafultPort
- The default portjava.net.URISyntaxException