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.
|
boolean |
isLocalBaseUri()
Check if baseURI is local
|
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
public boolean isLocalBaseUri()
Copyright © 1998–2023 iText Group NV. All rights reserved.