| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DataSource | |
|---|---|
| javax.activation | |
| Uses of DataSource in javax.activation | 
|---|
| Classes in javax.activation that implement DataSource | |
|---|---|
|  class | FileDataSourceThe FileDataSource class implements a simple DataSource object that encapsulates a file. | 
|  class | URLDataSourceThe URLDataSource class provides an object that wraps a URLobject in a DataSource interface. | 
| Methods in javax.activation that return DataSource | |
|---|---|
|  DataSource | DataHandler.getDataSource()Return the DataSource associated with this instance of DataHandler. | 
| Methods in javax.activation with parameters of type DataSource | |
|---|---|
|  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 | |
|---|---|
| DataHandler(DataSource ds)Create a DataHandlerinstance referencing the
 specified DataSource. | |
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.