public class ITextUserAgent extends NaiveUserAgent
_imageCache| 构造器和说明 |
|---|
ITextUserAgent(ITextOutputDevice outputDevice) |
| 限定符和类型 | 方法和说明 |
|---|---|
ImageResource |
getImageResource(String uri)
Retrieves the image located at the given URI.
|
SharedContext |
getSharedContext() |
void |
setSharedContext(SharedContext sharedContext) |
clearImageCache, createImageResource, documentLoaded, documentStarted, getBaseURL, getBinaryResource, getCSSResource, getXMLResource, isVisited, onLayoutException, onRenderException, resolveAndOpenStream, resolveURI, setBaseURL, shrinkImageCachepublic ITextUserAgent(ITextOutputDevice outputDevice)
public ImageResource getImageResource(String uri)
NaiveUserAgentgetImageResource 在接口中 UserAgentCallbackgetImageResource 在类中 NaiveUserAgenturi - Location of the image source.public SharedContext getSharedContext()
public void setSharedContext(SharedContext sharedContext)
Copyright © 2019. All Rights Reserved.