|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscone.thumbnailgenerator.ThumbnailGenerator
public class ThumbnailGenerator
This thumbnail-generator provides functionality to get a thumbnail-image of the contents displayed under a given URL. It uses the java web-browser package HTMLWindow (http://home.earthlink.net/~hheister/) written by Horst Heistermann.
| Constructor Summary | |
|---|---|
ThumbnailGenerator()
constructor |
|
| Method Summary | |
|---|---|
void |
flush()
Flushes all resources being used by the image and the thumbnail |
void |
generateThumbnail(SimpleUri sUri)
Generates a thumbnail of the document displayed at the specified URI |
void |
generateThumbnail(java.net.URL url)
Generates a thumbnail of the document displayed at the specified URL |
java.awt.Image |
getImage()
Get the document's full-sized image |
java.awt.Image |
getThumbnail()
Get the thumbnail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThumbnailGenerator()
| Method Detail |
|---|
public void generateThumbnail(SimpleUri sUri)
sUri - get a thumbnail from this documentpublic void generateThumbnail(java.net.URL url)
url - get a thumbnail from this documentpublic java.awt.Image getThumbnail()
public java.awt.Image getImage()
public void flush()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||