public interface IIOReadWarningListener extends EventListener
ImageReaderimplementations to notify callers of their image and thumbnail reading methods of warnings (non-fatal errors). Fatal errors cause the relevant read method to throw an
Localization is handled by associating a
IIOReadWarningListener as it is registered
ImageReader. It is up to the
ImageReader to provide localized messages.
void warningOccurred(ImageReader source, String warning)
ImageReaderobject calling this method.
Stringcontaining the warning.
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.