photospace.graphics
Class ImageCache
java.lang.Object
photospace.graphics.ImageCache
- All Implemented Interfaces:
- java.io.Serializable
- public class ImageCache
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageCache
public ImageCache()
setRoot
public void setRoot(java.io.File root)
sync
public int sync()
sync
public int sync(java.io.File[] files)
update
public boolean update(java.io.File file,
java.lang.String path,
Transform[] transforms)
scale
public java.awt.image.BufferedImage scale(java.awt.image.BufferedImage image,
java.lang.String path,
Transform transform)
throws java.io.IOException
- Throws:
java.io.IOException
cache
public void cache(java.awt.image.BufferedImage image,
java.lang.String path,
Transform transform)
throws java.io.IOException
- Throws:
java.io.IOException
cachedFile
public java.io.File cachedFile(java.lang.String path,
Transform transform)
setFilesystem
public void setFilesystem(FileSystem filesystem)
setWatcher
public void setWatcher(FileSystemWatcher watcher)