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