Class PdfBoxUserAgent
java.lang.Object
com.openhtmltopdf.swing.NaiveUserAgent
com.openhtmltopdf.pdfboxout.PdfBoxUserAgent
- All Implemented Interfaces:
DocumentListener, UserAgentCallback
-
Nested Class Summary
Nested classes/interfaces inherited from class NaiveUserAgent
NaiveUserAgent.DataUriFactory, NaiveUserAgent.DefaultAccessController, NaiveUserAgent.DefaultHttpStream, NaiveUserAgent.DefaultHttpStreamFactory, NaiveUserAgent.DefaultUriResolver -
Field Summary
Fields inherited from class NaiveUserAgent
_accessControllers, _baseUri, _imageCache, _protocolsStreamFactory, _resolver, DEFAULT_URI_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetImageResource(String uriStr) Retrieves the Image at the given URI.voidsetSharedContext(SharedContext sharedContext) Methods inherited from class NaiveUserAgent
checkAccessAllowed, clearImageCache, documentLoaded, documentStarted, extractProtocol, getBaseURL, getBinaryResource, getCSSResource, getDefaultUriResolver, getImageResource, getProtocolFactory, getXMLResource, hasProtocolFactory, isVisited, onLayoutException, onRenderException, openReader, openStream, readAll, resolveUri, resolveURI, setAccessController, setBaseURL, setProtocolsStreamFactory, setUriResolverMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface UserAgentCallback
getBinaryResource, getCSSResource, getXMLResource
-
Constructor Details
-
PdfBoxUserAgent
-
-
Method Details
-
getImageResource
Description copied from interface:UserAgentCallbackRetrieves the Image at the given URI. This is a synchronous call.- Parameters:
uriStr- Location of the image- Returns:
- An ImageResource for the content at the URI.
-