com.openhtmltopdf.extend.FSUriResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openhtmltopdf-core Show documentation
Show all versions of openhtmltopdf-core Show documentation
Open HTML to PDF is a CSS 2.1 renderer written in Java. This artifact contains the core rendering and layout code.
The newest version!
package com.openhtmltopdf.extend;
public interface FSUriResolver {
/**
* 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.
*
* @param uri an absolute or relative (to baseUri) uri to be resolved.
* @return the full uri in uri-spaces known to the current implementation or null
* to veto the request.
*/
public String resolveURI(String baseUri, String uri);
}