Top Methods
com.openhtmltopdf.extend

public Interface FSUriResolver

Known Direct Implementers
com.openhtmltopdf.swing.NaiveUserAgent.DefaultUriResolver

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the full uri in uri-spaces known to the current implementation or null to veto the request.
resolveURI
(String baseUri, String
an absolute or relative (to baseUri) uri to be resolved.
uri
)

Used to find a uri that may be relative to the BaseURL.

Method Detail

resolveURIback to summary
public String resolveURI(String baseUri, 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:String

an absolute or relative (to baseUri) uri to be resolved.

Returns:String

the full uri in uri-spaces known to the current implementation or null to veto the request.