Package com.openhtmltopdf.extend
Interface FSUriResolver
-
- All Known Implementing Classes:
NaiveUserAgent.DefaultUriResolver
public interface FSUriResolver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
resolveURI(java.lang.String baseUri, java.lang.String uri)
Used to find a uri that may be relative to the BaseURL.
-
-
-
Method Detail
-
resolveURI
java.lang.String resolveURI(java.lang.String baseUri, java.lang.String uri)
Used to find a uri that may be relative to the BaseURL. The returned value will always only be used via methods in the same implementation of this interface, therefore may be a private uri-space. Note: The base URI may point to a XHTML document or CSS document or be a directory. Note: This method may be called more than once for the same resource.- Parameters:
uri
- an absolute or relative (to baseUri) uri to be resolved.- Returns:
- the full uri in uri-spaces known to the current implementation or null to veto the request.
-
-