APIdia Launch Partner
Top Description Methods
javax.accessibility

public Interface AccessibleStreamable

Imports
java.awt.datatransfer.DataFlavor, java.io.InputStream

The AccessibleStreamable interface should be implemented by the AccessibleContext of any component that presents the raw stream behind a component on the display screen. Examples of such components are HTML, bitmap images and MathML. An object that implements AccessibleStreamable provides two things: a list of MIME types supported by the object and a streaming interface for each MIME type to get the data.
Authors
Lynn Monsanto, Peter Korn
Since
1.5
See Also
AccessibleContext

Method Summary

Modifier and TypeMethod and Description
public DataFlavor[]

Returns:

an array of DataFlavor objects for the MIME types this object supports
getMimeTypes
()

Returns an array of DataFlavor objects for the MIME types this object supports.

public InputStream

Returns:

an ImputStream if an input stream for this DataFlavor exists. Otherwise, null is returned.
getStream
(DataFlavor
the DataFlavor
flavor
)

Returns an InputStream for a DataFlavor.

Method Detail

getMimeTypesback to summary
public DataFlavor[] getMimeTypes()

Returns an array of DataFlavor objects for the MIME types this object supports.

Returns:DataFlavor[]

an array of DataFlavor objects for the MIME types this object supports

getStreamback to summary
public InputStream getStream(DataFlavor flavor)

Returns an InputStream for a DataFlavor.

Parameters
flavor:DataFlavor

the DataFlavor

Returns:InputStream

an ImputStream if an input stream for this DataFlavor exists. Otherwise, null is returned.