javax.imageio.event

Interface IIOWriteWarningListener

public interface IIOWriteWarningListener extends EventListener

Method Summary
voidwarningOccurred(ImageWriter source, int imageIndex, String warning)
Reports the occurrence of a non-fatal error in encoding.

Method Detail

warningOccurred

public void warningOccurred(ImageWriter source, int imageIndex, String warning)
Reports the occurrence of a non-fatal error in encoding. Encoding will continue after this method is called.

Parameters: source the ImageWriter object calling this method imageIndex the index of the image generating this warning, starting with 0 warning the warning