A B C D E F G H I J L M N O P Q R S T U V W _
All Classes All Packages
All Classes All Packages
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.
- appendCmdsToList(Map<String, List<String>>, List<CommandInfo>) - Method in class jakarta.activation.MailcapCommandMap
-
Put the commands that are in the hash table, into the list.
- appendPrefCmdsToList(Map<String, List<String>>, List<CommandInfo>) - Method in class jakarta.activation.MailcapCommandMap
-
Put the commands that are in the hash table, into the list.
- 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
B
- Beans() - Constructor for class jakarta.activation.CommandInfo.Beans
C
- checkForVerb(List<CommandInfo>, String) - Method in class jakarta.activation.MailcapCommandMap
-
Check the cmdList to see if this command exists, return true if the verb is there.
- checkPackageAccess(String) - Static method in class jakarta.activation.ServiceLoaderUtil
- className - Variable in class jakarta.activation.CommandInfo
- 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.
- CommandInfo.Beans - Class in jakarta.activation
-
Helper class to invoke Beans.instantiate reflectively or the equivalent with core reflection when module java.desktop is not readable.
- 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.
- confDir - Static variable in class jakarta.activation.MailcapCommandMap
- confDir - Static variable in class jakarta.activation.MimetypesFileTypeMap
- contextClassLoader(ServiceLoaderUtil.ExceptionHandler<T>) - Static method in class jakarta.activation.ServiceLoaderUtil
- 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.
- createException(Throwable, String) - Method in class jakarta.activation.ServiceLoaderUtil.ExceptionHandler
- currentCommandMap - Variable in class jakarta.activation.DataHandler
D
- dataContentHandler - Variable in class jakarta.activation.DataHandler
- 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 - Variable in class jakarta.activation.DataHandlerDataSource
- 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. - DataHandlerDataSource - Class in jakarta.activation
-
The DataHanderDataSource class implements the DataSource interface when the DataHandler is constructed with an Object and a mimeType string.
- DataHandlerDataSource(DataHandler) - Constructor for class jakarta.activation.DataHandlerDataSource
-
The constructor.
- dataSource - Variable in class jakarta.activation.DataHandler
- DataSource - Interface in jakarta.activation
-
The DataSource interface provides Jakarta Activation with an abstraction of an arbitrary collection of data.
- DataSourceDataContentHandler - Class in jakarta.activation
- DataSourceDataContentHandler(DataContentHandler, DataSource) - Constructor for class jakarta.activation.DataSourceDataContentHandler
-
The constructor.
- DB - Variable in class jakarta.activation.MailcapCommandMap
- DB - Variable in class jakarta.activation.MimetypesFileTypeMap
- dch - Variable in class jakarta.activation.DataSourceDataContentHandler
- dch - Variable in class jakarta.activation.ObjectDataContentHandler
- debug - Static variable in class jakarta.activation.LogSupport
- defaultCommandMap - Static variable in class jakarta.activation.CommandMap
- defaultMap - Static variable in class jakarta.activation.FileTypeMap
- defaultType - Static variable in class jakarta.activation.MimetypesFileTypeMap
- ds - Variable in class jakarta.activation.DataSourceDataContentHandler
E
- emptyFlavors - Static variable in class jakarta.activation.DataHandler
- 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, useisMimeTypeEqual(String)
instead. - EXCEPTION_HANDLER - Static variable in class jakarta.activation.FactoryFinder
- ExceptionHandler() - Constructor for class jakarta.activation.ServiceLoaderUtil.ExceptionHandler
- extension - Variable in class jakarta.activation.MimeTypeEntry
F
- factory - Static variable in class jakarta.activation.DataHandler
- factoryDCH - Variable in class jakarta.activation.DataHandler
- FactoryFinder - Class in jakarta.activation
- FactoryFinder() - Constructor for class jakarta.activation.FactoryFinder
- 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.
- find(Class<T>, String, boolean) - Static method in class jakarta.activation.FactoryFinder
-
Finds the implementation
Class
object for the given factory type. - firstByServiceLoader(Class<P>, Logger, ServiceLoaderUtil.ExceptionHandler<T>) - Static method in class jakarta.activation.ServiceLoaderUtil
- fromSystemProperty(String) - Static method in class jakarta.activation.FactoryFinder
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.DataHandler
-
Use the MimeType class to extract the MIME type/subtype, ignoring the parameters.
- 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.
- getCommandMap() - Method in class jakarta.activation.DataHandler
-
Return the CommandMap for this instance of DataHandler.
- 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.
- getContent(DataSource) - Method in class jakarta.activation.DataSourceDataContentHandler
- getContent(DataSource) - Method in class jakarta.activation.ObjectDataContentHandler
- getContentType() - Method in class jakarta.activation.DataHandler
-
Return the MIME type of this object as retrieved from the source object.
- getContentType() - Method in class jakarta.activation.DataHandlerDataSource
-
Returns the MIME type of the data represented by this 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.
- getContextClassLoader() - Static method in class jakarta.activation.SecuritySupport
- getDataContentHandler() - Method in class jakarta.activation.DataHandler
-
Get the DataContentHandler for this DataHandler:
- getDataContentHandler(String) - Method in class jakarta.activation.MailcapCommandMap
- getDataSource() - Method in class jakarta.activation.DataHandler
-
Return the DataSource associated with this instance of DataHandler.
- getDCH() - Method in class jakarta.activation.ObjectDataContentHandler
-
Return the DataContentHandler for this object.
- 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.
- getImplementation() - Method in class jakarta.activation.MailcapCommandMap
- getImplementation() - Method in class jakarta.activation.MimetypesFileTypeMap
- 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 class jakarta.activation.DataHandlerDataSource
-
Returns an
InputStream
representing 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 class jakarta.activation.DataHandlerDataSource
-
Returns the name of this 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 class jakarta.activation.DataHandlerDataSource
-
Returns the
OutputStream
for this object. - 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.
- getResourceAsStream(Class<?>, String) - Static method in class jakarta.activation.SecuritySupport
- getResources(ClassLoader, String) - Static method in class jakarta.activation.SecuritySupport
- getSubType() - Method in class jakarta.activation.MimeType
-
Retrieve the subtype of this object.
- getSystemProperty(String) - Static method in class jakarta.activation.FactoryFinder
- getSystemResources(String) - Static method in class jakarta.activation.SecuritySupport
- 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.
- getTransferData(ActivationDataFlavor, DataSource) - Method in class jakarta.activation.DataSourceDataContentHandler
-
Return the Transfer Data of type ActivationDataFlavor from InputStream.
- getTransferData(ActivationDataFlavor, DataSource) - Method in class jakarta.activation.ObjectDataContentHandler
-
Return the Transfer Data of type ActivationDataFlavor from InputStream.
- 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.
- getTransferDataFlavors() - Method in class jakarta.activation.DataSourceDataContentHandler
-
Return the ActivationDataFlavors for this
DataContentHandler
. - getTransferDataFlavors() - Method in class jakarta.activation.ObjectDataContentHandler
-
Return the ActivationDataFlavors for this
DataContentHandler
. - 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
. - humanPresentableName - Variable in class jakarta.activation.ActivationDataFlavor
I
- instantiate(ClassLoader, String) - Static method in class jakarta.activation.CommandInfo.Beans
-
Equivalent to invoking java.beans.Beans.instantiate(loader, cn)
- instantiateMethod - Static variable in class jakarta.activation.CommandInfo.Beans
- 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.
- isLoggable() - Static method in class jakarta.activation.LogSupport
- 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.
- isOsgi() - Static method in class jakarta.activation.FactoryFinder
- isTokenChar(char) - Static method in class jakarta.activation.MimeType
-
Determine whether or not a given character belongs to a legal token.
- isTokenChar(char) - Static method in class jakarta.activation.MimeTypeParameterList
-
Determine whether or not a given character belongs to a legal token.
- isValidToken(String) - Method in class jakarta.activation.MimeType
-
Determine whether or not a given string is a legal token.
J
- jakarta.activation - module jakarta.activation
-
Jakarta Activation API
- 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.
L
- level - Static variable in class jakarta.activation.LogSupport
- loadAllResources(List<MailcapRegistry>, String) - Method in class jakarta.activation.MailcapCommandMap
-
Load all of the named resource.
- loadAllResources(Vector<MimeTypeRegistry>, String) - Method in class jakarta.activation.MimetypesFileTypeMap
-
Load all of the named resource.
- loadFile(String) - Method in class jakarta.activation.MailcapCommandMap
-
Load from the named file.
- loadFile(String) - Method in class jakarta.activation.MimetypesFileTypeMap
-
Load the named file.
- loadResource(String) - Method in class jakarta.activation.MailcapCommandMap
-
Load from the named resource.
- loadResource(String) - Method in class jakarta.activation.MimetypesFileTypeMap
-
Load from the named resource.
- log(String) - Static method in class jakarta.activation.LogSupport
- log(String, Throwable) - Static method in class jakarta.activation.LogSupport
- logFound(String) - Static method in class jakarta.activation.FactoryFinder
- logger - Static variable in class jakarta.activation.FactoryFinder
- logger - Static variable in class jakarta.activation.LogSupport
- LogSupport - Class in jakarta.activation
-
Logging related methods.
- LogSupport() - Constructor for class jakarta.activation.LogSupport
-
Constructor.
- lookupUsingOSGiServiceLoader(String) - Static method in class jakarta.activation.FactoryFinder
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
. - map - Static variable in class jakarta.activation.CommandMap
- map - Static variable in class jakarta.activation.FileTypeMap
- 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.
- mimeObject - Variable in class jakarta.activation.ActivationDataFlavor
- mimeType - Variable in class jakarta.activation.ActivationDataFlavor
- mimeType - Variable in class jakarta.activation.ObjectDataContentHandler
- 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
- newInstance(String, String, ClassLoader) - Static method in class jakarta.activation.FactoryFinder
- newInstance(String, String, ClassLoader, ServiceLoaderUtil.ExceptionHandler<T>) - Static method in class jakarta.activation.ServiceLoaderUtil
- normalizeMimeType(String) - Method in class jakarta.activation.ActivationDataFlavor
-
Deprecated.
- normalizeMimeTypeParameter(String, String) - Method in class jakarta.activation.ActivationDataFlavor
-
Deprecated.
- nullSafeLoadClass(String, ClassLoader) - Static method in class jakarta.activation.ServiceLoaderUtil
O
- obj - Variable in class jakarta.activation.ObjectDataContentHandler
- objDataSource - Variable in class jakarta.activation.DataHandler
- object - Variable in class jakarta.activation.DataHandler
- ObjectDataContentHandler - Class in jakarta.activation
- ObjectDataContentHandler(DataContentHandler, Object, String) - Constructor for class jakarta.activation.ObjectDataContentHandler
-
The constructor.
- objectMimeType - Variable in class jakarta.activation.DataHandler
- oldFactory - Variable in class jakarta.activation.DataHandler
- openStream(URL) - Static method in class jakarta.activation.SecuritySupport
- OSGI_SERVICE_LOADER_CLASS_NAME - Static variable in class jakarta.activation.FactoryFinder
P
- parameters - Variable in class jakarta.activation.MimeType
- parameters - Variable in class jakarta.activation.MimeTypeParameterList
- parse(String) - Method in class jakarta.activation.MimeType
-
A routine for parsing the MIME type out of a String.
- parse(String) - Method in class jakarta.activation.MimeTypeParameterList
-
A routine for parsing the parameter list out of a String.
- primaryType - Variable in class jakarta.activation.MimeType
- PROG - Static variable in class jakarta.activation.MailcapCommandMap
- PROG - Static variable in class jakarta.activation.MimetypesFileTypeMap
Q
- quote(String) - Static method in class jakarta.activation.MimeTypeParameterList
-
A routine that knows how and when to quote and escape the given value.
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.
- representationClass - Variable in class jakarta.activation.ActivationDataFlavor
S
- safeLoadClass(String, String, ClassLoader) - Static method in class jakarta.activation.ServiceLoaderUtil
- SecuritySupport - Class in jakarta.activation
-
Security related methods that only work on J2SE 1.2 and newer.
- SecuritySupport() - Constructor for class jakarta.activation.SecuritySupport
- serialVersionUID - Static variable in class jakarta.activation.MimeType
- serialVersionUID - Static variable in exception jakarta.activation.MimeTypeParseException
- serialVersionUID - Static variable in exception jakarta.activation.UnsupportedDataTypeException
- ServiceLoaderUtil - Class in jakarta.activation
-
Shared ServiceLoader/FactoryFinder Utils shared among JAF, MAIL, SAAJ, JAXB and JAXWS Class duplicated to all those projects.
- ServiceLoaderUtil() - Constructor for class jakarta.activation.ServiceLoaderUtil
- ServiceLoaderUtil.ExceptionHandler<T extends java.lang.Exception> - Class in jakarta.activation
- 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.
- shortType - Variable in class jakarta.activation.DataHandler
- size() - Method in class jakarta.activation.MimeTypeParameterList
-
Return the number of name-value pairs in this list.
- skipWhiteSpace(String, int) - Static method in class jakarta.activation.MimeTypeParameterList
-
return the index of the first non white space character in rawdata at or after index i.
- subType - Variable in class jakarta.activation.MimeType
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.
- transferFlavors - Variable in class jakarta.activation.DataHandler
- transferFlavors - Variable in class jakarta.activation.DataSourceDataContentHandler
- transferFlavors - Variable in class jakarta.activation.ObjectDataContentHandler
- TSPECIALS - Static variable in class jakarta.activation.MimeType
-
A string that holds all the special chars.
- TSPECIALS - Static variable in class jakarta.activation.MimeTypeParameterList
-
A string that holds all the special chars.
- type - Variable in class jakarta.activation.MimeTypeEntry
- typeMap - Variable in class jakarta.activation.FileDataSource
U
- unquote(String) - Static method in class jakarta.activation.MimeTypeParameterList
-
A routine that knows how to strip the quotes and escape sequences from the given value.
- 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.
- url - Variable in class jakarta.activation.URLDataSource
- url_conn - Variable in class jakarta.activation.URLDataSource
- 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.
V
- verb - Variable in class jakarta.activation.CommandInfo
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.
- writeTo(Object, String, OutputStream) - Method in class jakarta.activation.DataSourceDataContentHandler
-
Write the object to the output stream.
- writeTo(Object, String, OutputStream) - Method in class jakarta.activation.ObjectDataContentHandler
-
Write the object to the output stream.
_
- _file - Variable in class jakarta.activation.FileDataSource
All Classes All Packages