|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheManager
Provides some basic interactions with the EditLive! local cache. Instance available via ELJBean.getCacheManager()
.
Method Summary | |
---|---|
void |
addTemporaryImage(RenderedImage imageData,
URL url)
Deprecated. see addTemporaryImage2(java.awt.Image, java.net.URL) |
void |
addTemporaryImage2(Image imageData,
URL url)
Populates the cache with data from an image URL. |
File |
getCacheDir()
Deprecated. use getEphoxDir() instead |
Object |
getDataFromCache(URL url)
Returns the locally cached data for a URL |
File |
getEphoxDir()
Path to the directory where EditLive! |
boolean |
isCached(URL url)
Determine if data for a URL is available in the local cache |
Method Detail |
---|
@Deprecated File getCacheDir()
getEphoxDir()
instead
File getEphoxDir()
void addTemporaryImage2(Image imageData, URL url)
Images are downloaded on a background thread, so any change to an image element's src attribute resets the image size on screen. This method prepopulates image data in the cache to prevent flickering.
@Deprecated void addTemporaryImage(RenderedImage imageData, URL url)
addTemporaryImage2(java.awt.Image, java.net.URL)
boolean isCached(URL url)
Object getDataFromCache(URL url)
|
Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |