A C D E F G H I J M N P R S T U W 
All Classes All Packages

A

ActivationDataFlavor - Class in jakarta.activation
The ActivationDataFlavor class is similar to the JDK's java.awt.datatransfer.DataFlavor class.
ActivationDataFlavor(Class<?>, String) - Constructor for class jakarta.activation.ActivationDataFlavor
Construct an ActivationDataFlavor that represents a MimeType.
ActivationDataFlavor(Class<?>, String, String) - Constructor for class jakarta.activation.ActivationDataFlavor
Construct an ActivationDataFlavor that represents an arbitrary Java object.
ActivationDataFlavor(String, String) - Constructor for class jakarta.activation.ActivationDataFlavor
Construct an ActivationDataFlavor that represents a MimeType.
addMailcap(String) - Method in class jakarta.activation.MailcapCommandMap
Add entries to the registry.
addMimeTypes(String) - Method in class jakarta.activation.MimetypesFileTypeMap
Prepend the MIME type values to the registry.
appendToMailcap(String) - Method in interface jakarta.activation.MailcapRegistry
appendToMailcap: Append to this Mailcap DB, use the mailcap format: Comment == "# comment string" Entry == "mimetype; javabeanclass" Example: # this is a comment image/gif jaf.viewers.ImageViewer
appendToRegistry(String) - Method in interface jakarta.activation.MimeTypeRegistry
Appends string of entries to the types registry

C

CommandInfo - Class in jakarta.activation
The CommandInfo class is used by CommandMap implementations to describe the results of command requests.
CommandInfo(String, String) - Constructor for class jakarta.activation.CommandInfo
The Constructor for CommandInfo.
CommandMap - Class in jakarta.activation
The CommandMap class provides an interface to a registry of command objects available in the system.
CommandMap() - Constructor for class jakarta.activation.CommandMap
Default (empty) constructor.
CommandObject - Interface in jakarta.activation
JavaBeans components that are Jakarta Activation 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 jakarta.activation.CommandMap
Locate a DataContentHandler that corresponds to the MIME type.
createDataContentHandler(String) - Method in interface jakarta.activation.DataContentHandlerFactory
Creates a new DataContentHandler object for the MIME type.
createDataContentHandler(String) - Method in class jakarta.activation.MailcapCommandMap
Return the DataContentHandler for the specified MIME type.
createDataContentHandler(String, DataSource) - Method in class jakarta.activation.CommandMap
Locate a DataContentHandler that corresponds to the MIME type.

D

DataContentHandler - Interface in jakarta.activation
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 in jakarta.activation
This interface defines a factory for DataContentHandlers.
DataHandler - Class in jakarta.activation
The DataHandler class provides a consistent interface to data available in many different sources and formats.
DataHandler(DataSource) - Constructor for class jakarta.activation.DataHandler
Create a DataHandler instance referencing the specified DataSource.
DataHandler(Object, String) - Constructor for class jakarta.activation.DataHandler
Create a DataHandler instance representing an object of this MIME type.
DataHandler(URL) - Constructor for class jakarta.activation.DataHandler
Create a DataHandler instance referencing a URL.
DataSource - Interface in jakarta.activation
The DataSource interface provides Jakarta Activation with an abstraction of an arbitrary collection of data.

E

equals(ActivationDataFlavor) - Method in class jakarta.activation.ActivationDataFlavor
Compares the ActivationDataFlavor passed in with this ActivationDataFlavor; calls the isMimeTypeEqual method.
equals(Object) - Method in class jakarta.activation.ActivationDataFlavor
 
equals(String) - Method in class jakarta.activation.ActivationDataFlavor
Deprecated.
As inconsistent with hashCode() contract, use isMimeTypeEqual(String) instead.

F

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

G

get(String) - Method in class jakarta.activation.MimeTypeParameterList
Retrieve the value associated with the given name, or null if there is no current association.
getAllCommands() - Method in class jakarta.activation.DataHandler
Return all the commands for this type of data.
getAllCommands(String) - Method in class jakarta.activation.CommandMap
Get all the available commands for this type.
getAllCommands(String) - Method in class jakarta.activation.MailcapCommandMap
Get all the available commands in all mailcap files known to this instance of MailcapCommandMap for this MIME type.
getAllCommands(String, DataSource) - Method in class jakarta.activation.CommandMap
Get all the available commands for this type.
getBaseType() - Method in class jakarta.activation.MimeType
Return a String representation of this object without the parameter list.
getBean(CommandInfo) - Method in class jakarta.activation.DataHandler
A convenience method that takes a CommandInfo object and instantiates the corresponding command, usually a JavaBean component.
getByFileName(String) - Method in interface jakarta.activation.spi.MailcapRegistryProvider
Retrieve an instance of the MailcapRegistry based on the name of the file where the MailcapEntries are stored.
getByFileName(String) - Method in interface jakarta.activation.spi.MimeTypeRegistryProvider
Retrieve an instance of the MimeTypeRegistry based on the name of the file where the MimeTypeEntries are stored.
getByInputStream(InputStream) - Method in interface jakarta.activation.spi.MailcapRegistryProvider
Retrieve an instance of the MailcapRegistry based on the InputStream that is used to read data from some named resource.
getByInputStream(InputStream) - Method in interface jakarta.activation.spi.MimeTypeRegistryProvider
Retrieve an instance of the MimeTypeRegistry based on the InputStream that is used to read data from some named resource.
getCommand(String) - Method in class jakarta.activation.DataHandler
Get the command cmdName.
getCommand(String, String) - Method in class jakarta.activation.CommandMap
Get the default command corresponding to the MIME type.
getCommand(String, String) - Method in class jakarta.activation.MailcapCommandMap
Get the command corresponding to cmdName for the MIME type.
getCommand(String, String, DataSource) - Method in class jakarta.activation.CommandMap
Get the default command corresponding to the MIME type.
getCommandClass() - Method in class jakarta.activation.CommandInfo
Return the command's class name.
getCommandName() - Method in class jakarta.activation.CommandInfo
Return the command verb.
getCommandObject(DataHandler, ClassLoader) - Method in class jakarta.activation.CommandInfo
Return the instantiated JavaBean component.
getContent() - Method in class jakarta.activation.DataHandler
Return the data in its preferred Object form.
getContent(DataSource) - Method in interface jakarta.activation.DataContentHandler
Return an object representing the data in its most preferred form.
getContentType() - Method in class jakarta.activation.DataHandler
Return the MIME type of this object as retrieved from the source object.
getContentType() - Method in interface jakarta.activation.DataSource
This method returns the MIME type of the data in the form of a string.
getContentType() - Method in class jakarta.activation.FileDataSource
This method returns the MIME type of the data in the form of a string.
getContentType() - Method in class jakarta.activation.URLDataSource
Returns the value of the URL content-type header field.
getContentType(File) - Method in class jakarta.activation.FileTypeMap
Return the type of the file object.
getContentType(File) - Method in class jakarta.activation.MimetypesFileTypeMap
Return the MIME type of the file object.
getContentType(String) - Method in class jakarta.activation.FileTypeMap
Return the type of the file passed in.
getContentType(String) - Method in class jakarta.activation.MimetypesFileTypeMap
Return the MIME type based on the specified file name.
getDataSource() - Method in class jakarta.activation.DataHandler
Return the DataSource associated with this instance of DataHandler.
getDefaultCommandMap() - Static method in class jakarta.activation.CommandMap
Get the default CommandMap.
getDefaultFileTypeMap() - Static method in class jakarta.activation.FileTypeMap
Return the default FileTypeMap for the system.
getFile() - Method in class jakarta.activation.FileDataSource
Return the File object that corresponds to this FileDataSource.
getFileExtension() - Method in class jakarta.activation.MimeTypeEntry
 
getHumanPresentableName() - Method in class jakarta.activation.ActivationDataFlavor
Return the Human Presentable name.
getInMemory() - Method in interface jakarta.activation.spi.MailcapRegistryProvider
Retrieve an instance of the in-memory implementation of the MailcapRegistry.
getInMemory() - Method in interface jakarta.activation.spi.MimeTypeRegistryProvider
Retrieve an instance of the in-memory implementation of the MimeTypeRegistry.
getInputStream() - Method in class jakarta.activation.DataHandler
Get the InputStream for this object.
getInputStream() - Method in interface jakarta.activation.DataSource
This method returns an InputStream representing the data and throws the appropriate exception if it can not do so.
getInputStream() - Method in class jakarta.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 class jakarta.activation.URLDataSource
The getInputStream method from the URL.
getMailcapFallbackList(String) - Method in interface jakarta.activation.MailcapRegistry
Get the Map of fallback MailcapEntries based on the MIME type.
getMailcapList(String) - Method in interface jakarta.activation.MailcapRegistry
Get the Map of MailcapEntries based on the MIME type.
getMimeType() - Method in class jakarta.activation.ActivationDataFlavor
Return the MIME type for this ActivationDataFlavor.
getMIMEType() - Method in class jakarta.activation.MimeTypeEntry
 
getMimeTypeEntry(String) - Method in interface jakarta.activation.MimeTypeRegistry
get the MimeTypeEntry based on the file extension
getMimeTypes() - Method in class jakarta.activation.CommandMap
Get all the MIME types known to this command map.
getMimeTypes() - Method in class jakarta.activation.MailcapCommandMap
Get all the MIME types known to this command map.
getMimeTypes() - Method in interface jakarta.activation.MailcapRegistry
Return all the MIME types known to this mailcap file.
getMIMETypeString(String) - Method in interface jakarta.activation.MimeTypeRegistry
Get the MIME type string corresponding to the file extension.
getName() - Method in class jakarta.activation.DataHandler
Return the name of the data object.
getName() - Method in interface jakarta.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 jakarta.activation.FileDataSource
Return the name of this object.
getName() - Method in class jakarta.activation.URLDataSource
Calls the getFile method on the URL used to instantiate the object.
getNames() - Method in class jakarta.activation.MimeTypeParameterList
Retrieve an enumeration of all the names in this list.
getNativeCommands(String) - Method in class jakarta.activation.MailcapCommandMap
Get the native commands for the given MIME type.
getNativeCommands(String) - Method in interface jakarta.activation.MailcapRegistry
Return all the native comands for the given MIME type.
getOutputStream() - Method in class jakarta.activation.DataHandler
Get an OutputStream for this DataHandler to allow overwriting the underlying data.
getOutputStream() - Method in interface jakarta.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 jakarta.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 class jakarta.activation.URLDataSource
The getOutputStream method from the URL.
getParameter(String) - Method in class jakarta.activation.MimeType
Retrieve the value associated with the given name, or null if there is no current association.
getParameters() - Method in class jakarta.activation.MimeType
Retrieve this object's parameter list.
getPreferredCommands() - Method in class jakarta.activation.DataHandler
Return the preferred commands for this type of data.
getPreferredCommands(String) - Method in class jakarta.activation.CommandMap
Get the preferred command list from a MIME Type.
getPreferredCommands(String) - Method in class jakarta.activation.MailcapCommandMap
Get the preferred command list for a MIME Type.
getPreferredCommands(String, DataSource) - Method in class jakarta.activation.CommandMap
Get the preferred command list from a MIME Type.
getPrimaryType() - Method in class jakarta.activation.MimeType
Retrieve the primary type of this object.
getRepresentationClass() - Method in class jakarta.activation.ActivationDataFlavor
Return the representation class.
getSubType() - Method in class jakarta.activation.MimeType
Retrieve the subtype of this object.
getTransferData(ActivationDataFlavor) - Method in class jakarta.activation.DataHandler
Returns an object that represents the data to be transferred.
getTransferData(ActivationDataFlavor, DataSource) - Method in interface jakarta.activation.DataContentHandler
Returns an object which represents the data to be transferred.
getTransferDataFlavors() - Method in interface jakarta.activation.DataContentHandler
Returns an array of ActivationDataFlavor objects indicating the flavors the data can be provided in.
getTransferDataFlavors() - Method in class jakarta.activation.DataHandler
Return the ActivationDataFlavors in which this data is available.
getURL() - Method in class jakarta.activation.URLDataSource
Return the URL used to create this DataSource.

H

hashCode() - Method in class jakarta.activation.ActivationDataFlavor
Returns hash code for this ActivationDataFlavor.

I

isDataFlavorSupported(ActivationDataFlavor) - Method in class jakarta.activation.DataHandler
Returns whether the specified data flavor is supported for this object.
isEmpty() - Method in class jakarta.activation.MimeTypeParameterList
Determine whether or not this list is empty.
isMimeTypeEqual(String) - Method in class jakarta.activation.ActivationDataFlavor
Is the string representation of the MIME type passed in equivalent to the MIME type of this ActivationDataFlavor.

J

jakarta.activation - package jakarta.activation
Jakarta Activation is used by Jakarta Mail to manage MIME data.
jakarta.activation.spi - package jakarta.activation.spi
Provides interfaces which implementations will be used as service providers for other services that used by Jakarta Activation.

M

MailcapCommandMap - Class in jakarta.activation
MailcapCommandMap extends the CommandMap abstract class.
MailcapCommandMap() - Constructor for class jakarta.activation.MailcapCommandMap
The default Constructor.
MailcapCommandMap(InputStream) - Constructor for class jakarta.activation.MailcapCommandMap
Constructor that allows the caller to specify an InputStream containing a mailcap file.
MailcapCommandMap(String) - Constructor for class jakarta.activation.MailcapCommandMap
Constructor that allows the caller to specify the path of a mailcap file.
MailcapRegistry - Interface in jakarta.activation
The MailcapRegistry interface is implemented by objects that can be used to store and retrieve MailcapEntries.
MailcapRegistryProvider - Interface in jakarta.activation.spi
This interface defines a factory for MailcapRegistry.
match(MimeType) - Method in class jakarta.activation.MimeType
Determine if the primary and sub type of this object is the same as what is in the given type.
match(String) - Method in class jakarta.activation.MimeType
Determine if the primary and sub type of this object is the same as the content type described in rawdata.
MimeType - Class in jakarta.activation
A Multipurpose Internet Mail Extension (MIME) type, as defined in RFC 2045 and 2046.
MimeType() - Constructor for class jakarta.activation.MimeType
Default constructor.
MimeType(String) - Constructor for class jakarta.activation.MimeType
Constructor that builds a MimeType from a String.
MimeType(String, String) - Constructor for class jakarta.activation.MimeType
Constructor that builds a MimeType with the given primary and sub type but has an empty parameter list.
MimeTypeEntry - Class in jakarta.activation
Represents mapping between the file extension and the MIME type string.
MimeTypeEntry(String, String) - Constructor for class jakarta.activation.MimeTypeEntry
Create new MimeTypeEntry
MimeTypeParameterList - Class in jakarta.activation
A parameter list of a MimeType as defined in RFC 2045 and 2046.
MimeTypeParameterList() - Constructor for class jakarta.activation.MimeTypeParameterList
Default constructor.
MimeTypeParameterList(String) - Constructor for class jakarta.activation.MimeTypeParameterList
Constructs a new MimeTypeParameterList with the passed in data.
MimeTypeParseException - Exception in jakarta.activation
A class to encapsulate MimeType parsing related exceptions.
MimeTypeParseException() - Constructor for exception jakarta.activation.MimeTypeParseException
Constructs a MimeTypeParseException with no specified detail message.
MimeTypeParseException(String) - Constructor for exception jakarta.activation.MimeTypeParseException
Constructs a MimeTypeParseException with the specified detail message.
MimeTypeRegistry - Interface in jakarta.activation
The MimeTypeRegistry interface is implemented by objects that can be used to store and retrieve MimeTypeEntries.
MimeTypeRegistryProvider - Interface in jakarta.activation.spi
This interface defines a factory for MimeTypeRegistry.
MimetypesFileTypeMap - Class in jakarta.activation
This class extends FileTypeMap and provides data typing of files via their file extension.
MimetypesFileTypeMap() - Constructor for class jakarta.activation.MimetypesFileTypeMap
The default constructor.
MimetypesFileTypeMap(InputStream) - Constructor for class jakarta.activation.MimetypesFileTypeMap
Construct a MimetypesFileTypeMap with programmatic entries added from the InputStream.
MimetypesFileTypeMap(String) - Constructor for class jakarta.activation.MimetypesFileTypeMap
Construct a MimetypesFileTypeMap with programmatic entries added from the named file.

N

normalizeMimeType(String) - Method in class jakarta.activation.ActivationDataFlavor
Deprecated. 
normalizeMimeTypeParameter(String, String) - Method in class jakarta.activation.ActivationDataFlavor
Deprecated. 

P

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

R

readExternal(ObjectInput) - Method in class jakarta.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 jakarta.activation.MimeTypeParameterList
Remove any value associated with the given name.
removeParameter(String) - Method in class jakarta.activation.MimeType
Remove any value associated with the given name.

S

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

T

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

U

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

W

writeExternal(ObjectOutput) - Method in class jakarta.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(OutputStream) - Method in class jakarta.activation.DataHandler
Write the data to an OutputStream.
writeTo(Object, String, OutputStream) - Method in interface jakarta.activation.DataContentHandler
Convert the object to a byte stream of the specified MIME type and write it to the output stream.
A C D E F G H I J M N P R S T U W 
All Classes All Packages