public interface AccessibleStreamable
AccessibleStreamable
接口应该由实施AccessibleContext
呈现在显示屏幕上的部件的后面的原始流的任何组分。
这些组件的示例是HTML,位图图像和MathML。
实现AccessibleStreamable
的对象提供两件事情:对象支持的MIME类型列表以及每个MIME类型的流接口以获取数据。
AccessibleContext
Modifier and Type | Method and Description |
---|---|
DataFlavor[] |
getMimeTypes()
返回此对象支持的MIME类型的DataFlavor对象数组。
|
InputStream |
getStream(DataFlavor flavor)
返回DataFlavor的InputStream
|
DataFlavor[] getMimeTypes()
InputStream getStream(DataFlavor flavor)
flavor
- DataFlavor
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.