Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- actionPerformed(ActionEvent) - Method in class com.sun.activation.viewers.TextEditor
- ActivationDataFlavor - Class in javax.activation
-
The ActivationDataFlavor class is a special subclass of
java.awt.datatransfer.DataFlavor
. - ActivationDataFlavor(Class, String) - Constructor for class javax.activation.ActivationDataFlavor
-
Construct a DataFlavor that represents a MimeType.
- ActivationDataFlavor(Class, String, String) - Constructor for class javax.activation.ActivationDataFlavor
-
Construct a DataFlavor that represents an arbitrary Java object.
- 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
-
Prepend the MIME type values to the registry.
- addNotify() - Method in class com.sun.activation.viewers.ImageViewer
- addNotify() - Method in class com.sun.activation.viewers.TextEditor
- addNotify() - Method in class com.sun.activation.viewers.TextViewer
- appendToMailcap(String) - Method in class com.sun.activation.registries.MailcapFile
-
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 class com.sun.activation.registries.MimeTypeFile
-
Appends string of entries to the types registry, must be valid .mime.types format.
C
- com.sun.activation.registries - package com.sun.activation.registries
- com.sun.activation.viewers - package com.sun.activation.viewers
- CommandInfo - Class in javax.activation
-
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 in javax.activation
-
The CommandMap class provides an interface to a registry of command objects available in the system.
- CommandMap() - Constructor for class javax.activation.CommandMap
- CommandObject - Interface in javax.activation
-
JavaBeans components 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 interface javax.activation.DataContentHandlerFactory
-
Creates a new DataContentHandler object for the MIME type.
- createDataContentHandler(String) - Method in class javax.activation.MailcapCommandMap
-
Return the DataContentHandler for the specified MIME type.
- createDataContentHandler(String, DataSource) - Method in class javax.activation.CommandMap
-
Locate a DataContentHandler that corresponds to the MIME type.
D
- DataContentHandler - Interface in javax.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 javax.activation
-
This interface defines a factory for
DataContentHandlers
. - DataHandler - Class in javax.activation
-
The DataHandler class provides a consistent interface to data available in many different sources and formats.
- DataHandler(Object, String) - Constructor for class javax.activation.DataHandler
-
Create a
DataHandler
instance representing an object of this MIME type. - DataHandler(URL) - Constructor for class javax.activation.DataHandler
-
Create a
DataHandler
instance referencing a URL. - DataHandler(DataSource) - Constructor for class javax.activation.DataHandler
-
Create a
DataHandler
instance referencing the specified DataSource. - DataSource - Interface in javax.activation
-
The DataSource interface provides the JavaBeans Activation Framework with an abstraction of an arbitrary collection of data.
E
- EOI_TOKEN - Static variable in class com.sun.activation.registries.MailcapTokenizer
- equals(DataFlavor) - Method in class javax.activation.ActivationDataFlavor
-
Compares the DataFlavor passed in with this DataFlavor; calls the
isMimeTypeEqual
method. - EQUALS_TOKEN - Static variable in class com.sun.activation.registries.MailcapTokenizer
F
- FileDataSource - Class in javax.activation
-
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 a FileDataSource from the specified path name.
- FileTypeMap - Class in javax.activation
-
The FileTypeMap is an abstract class that provides a data typing interface for files.
- 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() - Method in class javax.activation.DataHandler
-
Return all the commands for this type of data.
- 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 MIME type.
- getAllCommands(String, DataSource) - Method in class javax.activation.CommandMap
-
Get all the available commands for this type.
- 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) - Method in class javax.activation.DataHandler
-
Get the command cmdName.
- getCommand(String, String) - Method in class javax.activation.CommandMap
-
Get the default command corresponding 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, String, DataSource) - Method in class javax.activation.CommandMap
-
Get the default command corresponding to the MIME type.
- 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 instantiated JavaBean component.
- getContent() - Method in class javax.activation.DataHandler
-
Return the data in its preferred Object form.
- getContent(DataSource) - Method in interface javax.activation.DataContentHandler
-
Return an object representing the data in its most preferred form.
- getContentType() - Method in class javax.activation.DataHandler
-
Return the MIME type of this object as retrieved from the source object.
- getContentType() - Method in interface javax.activation.DataSource
-
This method returns the MIME type of the data in the form of a string.
- 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 class javax.activation.URLDataSource
-
Returns the value of the URL content-type header field.
- getContentType(File) - Method in class javax.activation.FileTypeMap
-
Return the type of the file object.
- getContentType(File) - Method in class javax.activation.MimetypesFileTypeMap
-
Return the MIME type of the file object.
- getContentType(String) - Method in class javax.activation.FileTypeMap
-
Return the type of the file passed in.
- getContentType(String) - Method in class javax.activation.MimetypesFileTypeMap
-
Return the MIME type based on the specified file name.
- getCurrentToken() - Method in class com.sun.activation.registries.MailcapTokenizer
-
Retrieve current token.
- getCurrentTokenValue() - Method in class com.sun.activation.registries.MailcapTokenizer
- getDataSource() - Method in class javax.activation.DataHandler
-
Return 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.
- getFileExtension() - Method in class com.sun.activation.registries.MimeTypeEntry
- getHumanPresentableName() - Method in class javax.activation.ActivationDataFlavor
-
Return the Human Presentable name.
- getInputStream() - Method in class javax.activation.DataHandler
-
Get the InputStream for this object.
- getInputStream() - Method in interface javax.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 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 class javax.activation.URLDataSource
-
The getInputStream method from the URL.
- getMailcapFallbackList(String) - Method in class com.sun.activation.registries.MailcapFile
-
Get the Map of fallback MailcapEntries based on the MIME type.
- getMailcapList(String) - Method in class com.sun.activation.registries.MailcapFile
-
Get the Map of MailcapEntries based on the MIME type.
- getMimeType() - Method in class javax.activation.ActivationDataFlavor
-
Return the MIME type for this DataFlavor.
- getMIMEType() - Method in class com.sun.activation.registries.MimeTypeEntry
- getMimeTypeEntry(String) - Method in class com.sun.activation.registries.MimeTypeFile
-
get the MimeTypeEntry based on the file extension
- getMimeTypes() - Method in class com.sun.activation.registries.MailcapFile
-
Return all the MIME types known to this mailcap file.
- getMimeTypes() - Method in class javax.activation.CommandMap
-
Get all the MIME types known to this command map.
- getMimeTypes() - Method in class javax.activation.MailcapCommandMap
-
Get all the MIME types known to this command map.
- getMIMETypeString(String) - Method in class com.sun.activation.registries.MimeTypeFile
-
Get the MIME type string corresponding to the file extension.
- getName() - Method in class javax.activation.DataHandler
-
Return the name of the data 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.FileDataSource
-
Return the name of this 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.
- getNativeCommands(String) - Method in class com.sun.activation.registries.MailcapFile
-
Return all the native comands for the given MIME type.
- getNativeCommands(String) - Method in class javax.activation.MailcapCommandMap
-
Get the native commands for the given MIME type.
- getOutputStream() - Method in class javax.activation.DataHandler
-
Get an OutputStream for this DataHandler to allow overwriting the underlying data.
- 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.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 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() - Method in class javax.activation.DataHandler
-
Return the preferred commands for this type of data.
- 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 for a MIME Type.
- getPreferredCommands(String, DataSource) - Method in class javax.activation.CommandMap
-
Get the preferred command list from a MIME Type.
- getPreferredSize() - Method in class com.sun.activation.viewers.ImageViewer
- getPreferredSize() - Method in class com.sun.activation.viewers.ImageViewerCanvas
-
getPreferredSize
- getPreferredSize() - Method in class com.sun.activation.viewers.TextEditor
- getPreferredSize() - Method in class com.sun.activation.viewers.TextViewer
- 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 subtype of this object.
- getTransferData(DataFlavor) - Method in class javax.activation.DataHandler
-
Returns an object that represents the data to be transferred.
- getTransferData(DataFlavor, DataSource) - Method in interface javax.activation.DataContentHandler
-
Returns an object which 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
- ImageViewer - Class in com.sun.activation.viewers
- ImageViewer() - Constructor for class com.sun.activation.viewers.ImageViewer
-
Constructor
- ImageViewerCanvas - Class in com.sun.activation.viewers
- ImageViewerCanvas() - Constructor for class com.sun.activation.viewers.ImageViewerCanvas
-
The constructor
- isDataFlavorSupported(DataFlavor) - Method in class javax.activation.DataHandler
-
Returns whether the specified data flavor is supported for this object.
- isEmpty() - Method in class javax.activation.MimeTypeParameterList
-
Determine whether or not this list is empty.
- isLoggable() - Static method in class com.sun.activation.registries.LogSupport
- 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.
J
- javax.activation - package javax.activation
-
The JavaBeans(TM) Activation Framework is used by the JavaMail(TM) API to manage MIME data.
L
- log(String) - Static method in class com.sun.activation.registries.LogSupport
- log(String, Throwable) - Static method in class com.sun.activation.registries.LogSupport
- LogSupport - Class in com.sun.activation.registries
-
Logging related methods.
M
- MailcapCommandMap - Class in javax.activation
-
MailcapCommandMap extends the CommandMap abstract class.
- MailcapCommandMap() - Constructor for class javax.activation.MailcapCommandMap
-
The default Constructor.
- MailcapCommandMap(InputStream) - Constructor for class javax.activation.MailcapCommandMap
-
Constructor that allows the caller to specify an InputStream containing a mailcap file.
- MailcapCommandMap(String) - Constructor for class javax.activation.MailcapCommandMap
-
Constructor that allows the caller to specify the path of a mailcap file.
- MailcapFile - Class in com.sun.activation.registries
- MailcapFile() - Constructor for class com.sun.activation.registries.MailcapFile
-
Mailcap file default constructor.
- MailcapFile(InputStream) - Constructor for class com.sun.activation.registries.MailcapFile
-
The constructor that takes an input stream as an argument.
- MailcapFile(String) - Constructor for class com.sun.activation.registries.MailcapFile
-
The constructor that takes a filename as an argument.
- MailcapParseException - Exception in com.sun.activation.registries
-
A class to encapsulate Mailcap parsing related exceptions
- MailcapParseException() - Constructor for exception com.sun.activation.registries.MailcapParseException
- MailcapParseException(String) - Constructor for exception com.sun.activation.registries.MailcapParseException
- MailcapTokenizer - Class in com.sun.activation.registries
-
A tokenizer for strings in the form of "foo/bar; prop1=val1; ...
- MailcapTokenizer(String) - Constructor for class com.sun.activation.registries.MailcapTokenizer
-
Constructor
- match(String) - Method in class javax.activation.MimeType
-
Determine if the primary and sub type of this object is the same as the content type described in rawdata.
- match(MimeType) - Method in class javax.activation.MimeType
-
Determine if the primary and sub type of this object is the same as what is in the given type.
- MimeType - Class in javax.activation
-
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.
- MimeTypeEntry - Class in com.sun.activation.registries
- MimeTypeEntry(String, String) - Constructor for class com.sun.activation.registries.MimeTypeEntry
- MimeTypeFile - Class in com.sun.activation.registries
- MimeTypeFile() - Constructor for class com.sun.activation.registries.MimeTypeFile
-
Creates an empty DB.
- MimeTypeFile(InputStream) - Constructor for class com.sun.activation.registries.MimeTypeFile
- MimeTypeFile(String) - Constructor for class com.sun.activation.registries.MimeTypeFile
-
The construtor that takes a filename as an argument.
- MimeTypeParameterList - Class in javax.activation
-
A parameter list of a MimeType as defined in RFC 2045 and 2046.
- 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 in javax.activation
-
A class to encapsulate MimeType parsing related exceptions.
- MimeTypeParseException() - Constructor for exception javax.activation.MimeTypeParseException
-
Constructs a MimeTypeParseException with no specified detail message.
- MimeTypeParseException(String) - Constructor for exception javax.activation.MimeTypeParseException
-
Constructs a MimeTypeParseException with the specified detail message.
- MimetypesFileTypeMap - Class in javax.activation
-
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(InputStream) - Constructor for class javax.activation.MimetypesFileTypeMap
-
Construct a MimetypesFileTypeMap with programmatic entries added from the InputStream.
- MimetypesFileTypeMap(String) - Constructor for class javax.activation.MimetypesFileTypeMap
-
Construct a MimetypesFileTypeMap with programmatic entries added from the named file.
N
- nameForToken(int) - Static method in class com.sun.activation.registries.MailcapTokenizer
- nextToken() - Method in class com.sun.activation.registries.MailcapTokenizer
- normalizeMimeType(String) - Method in class javax.activation.ActivationDataFlavor
-
Deprecated.
- normalizeMimeTypeParameter(String, String) - Method in class javax.activation.ActivationDataFlavor
-
Deprecated.
P
- paint(Graphics) - Method in class com.sun.activation.viewers.ImageViewerCanvas
-
paint method
- parse(String) - Method in class javax.activation.MimeTypeParameterList
-
A routine for parsing the parameter list out of a String.
- parseLine(String) - Method in class com.sun.activation.registries.MailcapFile
-
A routine to parse individual entries in a Mailcap file.
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.
- reportParseError(int, int, int, int, String) - Static method in class com.sun.activation.registries.MailcapFile
- reportParseError(int, int, int, String) - Static method in class com.sun.activation.registries.MailcapFile
- reportParseError(int, int, String) - Static method in class com.sun.activation.registries.MailcapFile
S
- SEMICOLON_TOKEN - Static variable in class com.sun.activation.registries.MailcapTokenizer
- 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 class com.sun.activation.viewers.ImageViewer
-
Set the DataHandler for this CommandObject
- setCommandContext(String, DataHandler) - Method in class com.sun.activation.viewers.TextEditor
- setCommandContext(String, DataHandler) - Method in class com.sun.activation.viewers.TextViewer
- setCommandContext(String, DataHandler) - Method in interface javax.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 javax.activation.DataHandler
-
Set the CommandMap for use by 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.
- setImage(Image) - Method in class com.sun.activation.viewers.ImageViewerCanvas
-
set the image
- setInputStream(InputStream) - Method in class com.sun.activation.viewers.TextEditor
-
set the data stream, component to assume it is ready to be read.
- setInputStream(InputStream) - Method in class com.sun.activation.viewers.TextViewer
-
set the data stream, component to assume it is ready to be read.
- setIsAutoquoting(boolean) - Method in class com.sun.activation.registries.MailcapTokenizer
-
Set whether auto-quoting is on or off.
- 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 subtype for this object to the given String.
- size() - Method in class javax.activation.MimeTypeParameterList
-
Return the number of name-value pairs in this list.
- SLASH_TOKEN - Static variable in class com.sun.activation.registries.MailcapTokenizer
- START_TOKEN - Static variable in class com.sun.activation.registries.MailcapTokenizer
- STRING_TOKEN - Static variable in class com.sun.activation.registries.MailcapTokenizer
T
- TextEditor - Class in com.sun.activation.viewers
- TextEditor() - Constructor for class com.sun.activation.viewers.TextEditor
-
Constructor
- TextViewer - Class in com.sun.activation.viewers
- TextViewer() - Constructor for class com.sun.activation.viewers.TextViewer
-
Constructor
- toString() - Method in class com.sun.activation.registries.MimeTypeEntry
- toString() - Method in class javax.activation.MimeType
-
Return the String representation of this object.
- toString() - Method in class javax.activation.MimeTypeParameterList
-
Return a string representation of this object.
U
- UNKNOWN_TOKEN - Static variable in class com.sun.activation.registries.MailcapTokenizer
- UnsupportedDataTypeException - Exception in javax.activation
-
Signals that the requested operation does not support the requested data type.
- UnsupportedDataTypeException() - Constructor for exception javax.activation.UnsupportedDataTypeException
-
Constructs an UnsupportedDataTypeException with no detail message.
- UnsupportedDataTypeException(String) - Constructor for exception javax.activation.UnsupportedDataTypeException
-
Constructs an UnsupportedDataTypeException with the specified message.
- URLDataSource - Class in javax.activation
-
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.
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(OutputStream) - Method in class javax.activation.DataHandler
-
Write the data to an
OutputStream
. - 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.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form