javax.accessibility

Interface AccessibleStreamable

public interface AccessibleStreamable

This interface represents a streamable accessible object.

Since: 1.5

Method Summary
DataFlavor[]getMimeTypes()
Return an array of the data flavors supported by this object.
InputStreamgetStream(DataFlavor flavor)
Return an input stream that yields the contents of this object, using the given data flavor.

Method Detail

getMimeTypes

public DataFlavor[] getMimeTypes()
Return an array of the data flavors supported by this object.

getStream

public InputStream getStream(DataFlavor flavor)
Return an input stream that yields the contents of this object, using the given data flavor. If the given data flavor cannot be used, returns null.

Parameters: flavor the data flavor