public class UriResolver extends Object
| Constructor and Description |
|---|
UriResolver(String baseUri)
Creates a new UriResolver instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseUri()
Gets the base URI.
|
URL |
resolveAgainstBaseUri(String uriString)
Resolve a given URI against the base URI.
|
public UriResolver(String baseUri)
UriResolver instance.
baseUri - the base URI
public String getBaseUri()
public URL resolveAgainstBaseUri(String uriString) throws MalformedURLException
uriString - the given URI
MalformedURLException - the malformed URL exception
Copyright © 1998–2019 iText Group NV. All rights reserved.