-
public interface AccessibleStreamableTheAccessibleStreamableinterface should be implemented by theAccessibleContextof 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 implementsAccessibleStreamableprovides two things: a list of MIME types supported by the object and a streaming interface for each MIME type to get the data.- Since:
- 1.5
- See Also:
AccessibleContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataFlavor[]getMimeTypes()Returns an array ofDataFlavorobjects for the MIME types this object supports.InputStreamgetStream(DataFlavor flavor)Returns anInputStreamfor aDataFlavor.
-
-
-
Method Detail
-
getMimeTypes
DataFlavor[] getMimeTypes()
Returns an array ofDataFlavorobjects for the MIME types this object supports.- Returns:
- an array of
DataFlavorobjects for the MIME types this object supports
-
getStream
InputStream getStream(DataFlavor flavor)
Returns anInputStreamfor aDataFlavor.- Parameters:
flavor- theDataFlavor- Returns:
- an
ImputStreamif an input stream for thisDataFlavorexists. Otherwise,nullis returned.
-
-