public interface IIOReadWarningListener extends EventListener
ImageReader
通知呼叫者他们的图像和缩略图读取警告方法(非致命错误)。
致命的错误导致相关的读取方法抛出一个IIOException
。
本地化是通过将Locale
与每个IIOReadWarningListener
处理的,因为它在ImageReader中ImageReader
。 这是到ImageReader
,提供本地化的消息。
Modifier and Type | Method and Description |
---|---|
void |
warningOccurred(ImageReader source, String warning)
报告解码中出现非致命错误。
|
void warningOccurred(ImageReader source, String warning)
source
- 调用此方法的
ImageReader
对象。
warning
- a
String
containing the warning.
Submit a bug or feature
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, 2014, Oracle and/or its affiliates. All rights reserved.