Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS
A C D E F G I M N P R S T U W

A

ActivationDataFlavor class javax.activation.ActivationDataFlavor.
The ActivationDataFlavor is a special instance of the java.awt.datatransfer.DataFlavor.
ActivationDataFlavor(Class, String, String). Constructor for class javax.activation.ActivationDataFlavor
Construct a DataFlavor that represents an arbitrary Java object.
ActivationDataFlavor(Class, String). Constructor for class javax.activation.ActivationDataFlavor
Construct a DataFlavor that represents a MimeType.
ActivationDataFlavor(String, String). Constructor for class javax.activation.ActivationDataFlavor
Construct a DataFlavor that represents a MimeType.
addMailcap(String). Method in class javax.activation.MailcapCommandMap
Add entries to the registry.
addMimeTypes(String). Method in class javax.activation.MimetypesFileTypeMap
This method prepends the .mimetype values to the registry.

C

CommandInfo class javax.activation.CommandInfo.
The CommandInfo class is used by CommandMap implementations to describe the results of command requests.
CommandInfo(String, String). Constructor for class javax.activation.CommandInfo
The Constructor for CommandInfo
CommandMap class javax.activation.CommandMap.
The CommandMap class provides an interface to the registry of viewer/editors/print/etc objects available in the system.
CommandMap(). Constructor for class javax.activation.CommandMap
CommandObject interface javax.activation.CommandObject.
JavaBeans that are Activation Framework aware implement this interface to find out which command verb they're being asked to perform, and to obtain the DataHandler representing the data they should operate on.
createDataContentHandler(String). Method in class javax.activation.CommandMap
Locate a DataContentHandler that corresponds to the MIME type.
createDataContentHandler(String). Method in class javax.activation.MailcapCommandMap
Return the DataContentHandler that refers to the MIME type.
createDataContentHandler(String). Method in interface javax.activation.DataContentHandlerFactory
Creates a new DataContentHandler object for the MIME type.

D

DataContentHandler interface javax.activation.DataContentHandler.
The DataContentHandler interface is implemented by objects that can be used to extend the capabilities of the DataHandler's implementation of the Transferable interface.
DataContentHandlerFactory interface javax.activation.DataContentHandlerFactory.
This interface defines a factory for DataContentHandlers.
DataHandler class javax.activation.DataHandler.
The DataHandler class provides a consistent interface to data available in many different sources and formats.
DataHandler(DataSource). Constructor for class javax.activation.DataHandler
Creates a DataHandler instance with the specified DataSource.
DataHandler(Object, String). Constructor for class javax.activation.DataHandler
Initializes the DataHandler class with an object of this MIME type.
DataHandler(URL). Constructor for class javax.activation.DataHandler
Initializes the DataHandler class with a URL.
DataSource interface javax.activation.DataSource.
The DataSource interface provides the JavaBeans Activation Framework with an abstraction of some arbitrary collection of data.

E

equals(DataFlavor). Method in class javax.activation.ActivationDataFlavor
Compares the DataFlavor passed in with this DataFlavor, calls this.isMimeTypeEqual.

F

FileDataSource class javax.activation.FileDataSource.
The FileDataSource class implements a simple DataSource object that encapsulates a file.
FileDataSource(File). Constructor for class javax.activation.FileDataSource
Creates a FileDataSource from a File object.
FileDataSource(String). Constructor for class javax.activation.FileDataSource
Creates FileDataSource from the specified path name.
FileTypeMap class javax.activation.FileTypeMap.
The FileTypeMap is an abstract class that provides a data typing interface based on a file.
FileTypeMap(). Constructor for class javax.activation.FileTypeMap
The default constructor.

G

get(String). Method in class javax.activation.MimeTypeParameterList
Retrieve the value associated with the given name, or null if there is no current association.
getAllCommands(String). Method in class javax.activation.CommandMap
Get all the available commands for this type.
getAllCommands(String). Method in class javax.activation.MailcapCommandMap
Get all the available commands in all mailcap files known to this instance of MailcapCommandMap for this type.
getAllCommands(). Method in class javax.activation.DataHandler
This method returns an array containing all commands for the type of data represented in the DataHandler.
getBaseType(). Method in class javax.activation.MimeType
Return a String representation of this object without the parameter list.
getBean(CommandInfo). Method in class javax.activation.DataHandler
A convenience method that takes a CommandInfo object and instantiates the corresponding command, usually a JavaBean component.
getCommand(String, String). Method in class javax.activation.CommandMap
Get the default command corresonding to the MIME type.
getCommand(String, String). Method in class javax.activation.MailcapCommandMap
Get the command corresponding to cmdName for the MIME type.
getCommand(String). Method in class javax.activation.DataHandler
Get the command cmdName.
getCommandClass(). Method in class javax.activation.CommandInfo
Return the command's class name.
getCommandName(). Method in class javax.activation.CommandInfo
Return the command verb.
getCommandObject(DataHandler, ClassLoader). Method in class javax.activation.CommandInfo
Return the instansiated JavaBean.
getContent(DataSource). Method in interface javax.activation.DataContentHandler
Return an object representing the data in its most preferred form.
getContent(). Method in class javax.activation.DataHandler
Return the data in its preferred Object form.
getContentType(). Method in class javax.activation.FileDataSource
This method returns the MIME type of the data in the form of a string.
getContentType(). Method in interface javax.activation.DataSource
This method returns the MIME type of the data in the form of a string.
getContentType(File). Method in class javax.activation.FileTypeMap
Return the type of the file object.
getContentType(String). Method in class javax.activation.FileTypeMap
Return the type of the file passed inThis method should always return a valid MIME type.
getContentType(). Method in class javax.activation.DataHandler
Return the MIME type of this object as retrieved from the source object.
getContentType(File). Method in class javax.activation.MimetypesFileTypeMap
Return the type of the file object.
getContentType(String). Method in class javax.activation.MimetypesFileTypeMap
Return the type of the file passed in
getContentType(). Method in class javax.activation.URLDataSource
Returns the value of the URL content-type header field.
getDataSource(). Method in class javax.activation.DataHandler
Returns the DataSource associated with this instance of DataHandler.
getDefaultCommandMap(). Static method in class javax.activation.CommandMap
Get the default CommandMap.
getDefaultFileTypeMap(). Static method in class javax.activation.FileTypeMap
Return the default FileTypeMap for the system.
getFile(). Method in class javax.activation.FileDataSource
Return the File object that corresponds to this FileDataSource.
getHumanPresentableName(). Method in class javax.activation.ActivationDataFlavor
Return the Human Presentable name
getInputStream(). Method in class javax.activation.FileDataSource
This method will return an InputStream representing the the data and will throw an IOException if it can not do so.
getInputStream(). Method in interface javax.activation.DataSource
This method returns an InputStream representing the the data and throws the appropriate exception if it can not do so.
getInputStream(). Method in class javax.activation.DataHandler
Get the InputStream for this object.
getInputStream(). Method in class javax.activation.URLDataSource
The getInputStream method from the URL.
getMimeType(). Method in class javax.activation.ActivationDataFlavor
Returns the MIME type string for this DataFlavor
getName(). Method in class javax.activation.FileDataSource
Return the 'name' of this object.
getName(). Method in interface javax.activation.DataSource
Return the 'name' of this object where the name of the object is dependant on the nature of the underlying objects.
getName(). Method in class javax.activation.DataHandler
Return the name of the data object.
getName(). Method in class javax.activation.URLDataSource
Calls the getFile method on the URL used to instantiate the object.
getNames(). Method in class javax.activation.MimeTypeParameterList
Retrieve an enumeration of all the names in this list.
getOutputStream(). Method in class javax.activation.FileDataSource
This method will return an OutputStream representing the the data and will throw an IOException if it can not do so.
getOutputStream(). Method in interface javax.activation.DataSource
This method returns an OutputStream where the data can be written and throws the appropriate exception if it can not do so.
getOutputStream(). Method in class javax.activation.DataHandler
Get the OutputStream for this DataHandler.
getOutputStream(). Method in class javax.activation.URLDataSource
The getOutputStream method from the URL.
getParameter(String). Method in class javax.activation.MimeType
Retrieve the value associated with the given name, or null if there is no current association.
getParameters(). Method in class javax.activation.MimeType
Retrieve this object's parameter list.
getPreferredCommands(String). Method in class javax.activation.CommandMap
Get the preferred command list from a MIME Type.
getPreferredCommands(String). Method in class javax.activation.MailcapCommandMap
Get the preferred command list from a MIME Type.
getPreferredCommands(). Method in class javax.activation.DataHandler
This method calls the getPreferredCommands method in the commandMap installed in this instance of DataHandler.
getPrimaryType(). Method in class javax.activation.MimeType
Retrieve the primary type of this object.
getRepresentationClass(). Method in class javax.activation.ActivationDataFlavor
Return the representation class
getSubType(). Method in class javax.activation.MimeType
Retrieve the sub type of this object.
getTransferData(DataFlavor, DataSource). Method in interface javax.activation.DataContentHandler
Returns an object which represents the data to be transferred.
getTransferData(DataFlavor). Method in class javax.activation.DataHandler
Returns an object that represents the data to be transferred.
getTransferDataFlavors(). Method in interface javax.activation.DataContentHandler
Returns an array of DataFlavor objects indicating the flavors the data can be provided in.
getTransferDataFlavors(). Method in class javax.activation.DataHandler
Return the DataFlavors in which this data is available.
getURL(). Method in class javax.activation.URLDataSource
Return the URL used to create this DataSource

I

isDataFlavorSupported(DataFlavor). Method in class javax.activation.DataHandler
Returns whether the specified data flavor is supported for this object.

This method iterates through the DataFlavors available from this object, which was the result of a call to this.getTransferDataFlavors.

isEmpty(). Method in class javax.activation.MimeTypeParameterList
Determine whether or not this list is empty.
isMimeTypeEqual(String). Method in class javax.activation.ActivationDataFlavor
Is the string representation of the MIME type passed in equivalent to the MIME type of this DataFlavor.

M

MailcapCommandMap class javax.activation.MailcapCommandMap.
The MailcapCommandMap implements the CommandMap abstract class.
MailcapCommandMap(). Constructor for class javax.activation.MailcapCommandMap
The default Constructor.
MailcapCommandMap(String). Constructor for class javax.activation.MailcapCommandMap
Constructor that allows the caller to specify the path of a mailcap file.
MailcapCommandMap(InputStream). Constructor for class javax.activation.MailcapCommandMap
Constructor that allows the caller to specify an InputStream containing a mailcap file.
MimeType class javax.activation.MimeType.
A Multipurpose Internet Mail Extension (MIME) type, as defined in RFC 2045 and 2046.
MimeType(). Constructor for class javax.activation.MimeType
Default constructor.
MimeType(String). Constructor for class javax.activation.MimeType
Constructor that builds a MimeType from a String.
MimeType(String, String). Constructor for class javax.activation.MimeType
Constructor that builds a MimeType with the given primary and sub type but has an empty parameter list.
MimeTypeParameterList class javax.activation.MimeTypeParameterList.
This object is used by javax.activation.MimeType.
MimeTypeParameterList(). Constructor for class javax.activation.MimeTypeParameterList
Default constructor.
MimeTypeParameterList(String). Constructor for class javax.activation.MimeTypeParameterList
Constructs a new MimeTypeParameterList with the passed in data.
MimeTypeParseException exception javax.activation.MimeTypeParseException.
A class to encapsulate MimeType parsing related exceptions
MimeTypeParseException(). Constructor for class javax.activation.MimeTypeParseException
Constructs a MimeTypeParseException with no specified detail message.
MimeTypeParseException(String). Constructor for class javax.activation.MimeTypeParseException
Constructs a MimeTypeParseException with the specified detail message.
MimetypesFileTypeMap class javax.activation.MimetypesFileTypeMap.
This class extends FileTypeMap and provides data typing of files via their file extension.
MimetypesFileTypeMap(). Constructor for class javax.activation.MimetypesFileTypeMap
The default constructor.
MimetypesFileTypeMap(String). Constructor for class javax.activation.MimetypesFileTypeMap
Constructor specifies a mimetypes file to append to the registry.
MimetypesFileTypeMap(InputStream). Constructor for class javax.activation.MimetypesFileTypeMap
Constructor specifies a mimetypes file as an InputStream to append to the registry.
match(MimeType). Method in class javax.activation.MimeType
Determine of the primary and sub type of this object is the same as the what is in the given type.
match(String). Method in class javax.activation.MimeType
Determine of the primary and sub type of this object is the same as the content type described in rawdata.

N

normalizeMimeType(String). Method in class javax.activation.ActivationDataFlavor
Called for each MIME type string to give DataFlavor subtypes the opportunity to change how the normalization of MIME types is accomplished.
normalizeMimeTypeParameter(String, String). Method in class javax.activation.ActivationDataFlavor
Called on DataFlavor for every MIME Type parameter to allow DataFlavor subclasses to handle special parameters like the text/plain charset parameters, whose values are case insensitive.

P

parse(String). Method in class javax.activation.MimeTypeParameterList
A routine for parsing the parameter list out of a String.

R

readExternal(ObjectInput). Method in class javax.activation.MimeType
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
remove(String). Method in class javax.activation.MimeTypeParameterList
Remove any value associated with the given name.
removeParameter(String). Method in class javax.activation.MimeType
Remove any value associated with the given name.

S

set(String, String). Method in class javax.activation.MimeTypeParameterList
Set the value to be associated with the given name, replacing any previous association.
setCommandContext(String, DataHandler). Method in interface javax.activation.CommandObject
Initialize the Command with the verb it is registered to and the DataHandler that describes the data it will operate on.
setCommandMap(CommandMap). Method in class javax.activation.DataHandler
This method overrides the current CommandMap in this DataHandler.
setDataContentHandlerFactory(DataContentHandlerFactory). Static method in class javax.activation.DataHandler
Sets the DataContentHandlerFactory.
setDefaultCommandMap(CommandMap). Static method in class javax.activation.CommandMap
Set the default CommandMap.
setDefaultFileTypeMap(FileTypeMap). Static method in class javax.activation.FileTypeMap
Sets the default FileTypeMap for the system.
setFileTypeMap(FileTypeMap). Method in class javax.activation.FileDataSource
Set the FileTypeMap to use with this FileDataSource
setHumanPresentableName(String). Method in class javax.activation.ActivationDataFlavor
set the human presentable name
setParameter(String, String). Method in class javax.activation.MimeType
Set the value to be associated with the given name, replacing any previous association.
setPrimaryType(String). Method in class javax.activation.MimeType
Set the primary type for this object to the given String.
setSubType(String). Method in class javax.activation.MimeType
Set the sub type for this object to the given String.
size(). Method in class javax.activation.MimeTypeParameterList
return the number of name-value pairs in this list.

T

toString(). Method in class javax.activation.MimeTypeParameterList
Return a string representation of this object.
toString(). Method in class javax.activation.MimeType
Return the String representation of this object.

U

URLDataSource class javax.activation.URLDataSource.
The URLDataSource class provides an object that wraps a URL object in a DataSource interface.
URLDataSource(URL). Constructor for class javax.activation.URLDataSource
URLDataSource constructor.
UnsupportedDataTypeException exception javax.activation.UnsupportedDataTypeException.
Signals that requested operation does not support the requested data type.
UnsupportedDataTypeException(). Constructor for class javax.activation.UnsupportedDataTypeException
Constructs an UnsupportedDataTypeException with no detail message.
UnsupportedDataTypeException(String). Constructor for class javax.activation.UnsupportedDataTypeException
Constructs an UnsupportedDataTypeException with the specified message.

W

writeExternal(ObjectOutput). Method in class javax.activation.MimeType
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings and arrays.
writeTo(Object, String, OutputStream). Method in interface javax.activation.DataContentHandler
Convert the object to a byte stream of the specified MIME type and write it to the output stream.
writeTo(OutputStream). Method in class javax.activation.DataHandler
Write the data to an OutputStream.

If the DataHandler was created with a DataSource, writeTo retrieves the InputStream and writes the bytes from the InputStream to the OutputStream passed in.


A C D E F G I M N P R S T U W
Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS