Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Interface
javax.activation.DataSource

Packages that use DataSource
Package Description
javax.activation   
 

Uses of DataSource in javax.activation
 

Classes in javax.activation that implement DataSource
Modifier and Type Class and Description
 class FileDataSource
          The FileDataSource class implements a simple DataSource object that encapsulates a file.
 class URLDataSource
          The URLDataSource class provides an object that wraps a URL object in a DataSource interface.
 

Methods in javax.activation that return DataSource
Modifier and Type Method and Description
 DataSource DataHandler.getDataSource()
          Return the DataSource associated with this instance of DataHandler.
 

Methods in javax.activation with parameters of type DataSource
Modifier and Type Method and Description
 DataContentHandler CommandMap.createDataContentHandler(String mimeType, DataSource ds)
          Locate a DataContentHandler that corresponds to the MIME type.
 CommandInfo[] CommandMap.getAllCommands(String mimeType, DataSource ds)
          Get all the available commands for this type.
 CommandInfo CommandMap.getCommand(String mimeType, String cmdName, DataSource ds)
          Get the default command corresponding to the MIME type.
 Object DataContentHandler.getContent(DataSource ds)
          Return an object representing the data in its most preferred form.
 CommandInfo[] CommandMap.getPreferredCommands(String mimeType, DataSource ds)
          Get the preferred command list from a MIME Type.
 Object DataContentHandler.getTransferData(DataFlavor df, DataSource ds)
          Returns an object which represents the data to be transferred.
 

Constructors in javax.activation with parameters of type DataSource
Constructor and Description
DataHandler(DataSource ds)
          Create a DataHandler instance referencing the specified DataSource.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.