01: package it.geosolutions.utils;
02:
03: import javax.imageio.ImageWriter;
04: import javax.imageio.event.IIOWriteProgressListener;
05: import javax.imageio.event.IIOWriteWarningListener;
06:
07: public class DefaultWriteProgressListener implements
08: IIOWriteProgressListener, IIOWriteWarningListener {
09:
10: public void imageStarted(ImageWriter source, int imageIndex) {
11:
12: }
13:
14: public void imageProgress(ImageWriter source, float percentageDone) {
15:
16: }
17:
18: public void imageComplete(ImageWriter source) {
19:
20: }
21:
22: public void thumbnailStarted(ImageWriter source, int imageIndex,
23: int thumbnailIndex) {
24:
25: }
26:
27: public void thumbnailProgress(ImageWriter source,
28: float percentageDone) {
29:
30: }
31:
32: public void thumbnailComplete(ImageWriter source) {
33:
34: }
35:
36: public void writeAborted(ImageWriter source) {
37:
38: }
39:
40: public void warningOccurred(ImageWriter source, int imageIndex,
41: String warning) {
42:
43: }
44:
45: }
|