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
- 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.
- addGridComponent(Container, Component, GridBagLayout, int, int, int, int, int, int) - Method in class com.sun.activation.viewers.TextEditor
-
adds a component to our gridbag layout
- 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
- addReverse - Static variable in class com.sun.activation.registries.MailcapFile
- appendCmdsToList(Map, List) - Method in class javax.activation.MailcapCommandMap
-
Put the commands that are in the hash table, into the list.
- appendPrefCmdsToList(Map, List) - Method in class javax.activation.MailcapCommandMap
-
Put the commands that are in the hash table, into the list.
- 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.
- autoquoteChar - Variable in class com.sun.activation.registries.MailcapTokenizer
B
- Beans() - Constructor for class javax.activation.CommandInfo.Beans
- button_panel - Variable in class com.sun.activation.viewers.TextEditor
C
- canvas - Variable in class com.sun.activation.viewers.ImageViewer
- canvas_image - Variable in class com.sun.activation.viewers.ImageViewerCanvas
- checkForVerb(List, String) - Method in class javax.activation.MailcapCommandMap
-
Check the cmdList to see if this command exists, return true if the verb is there.
- className - Variable in class javax.activation.CommandInfo
- 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.
- CommandInfo.Beans - Class in javax.activation
-
Helper class to invoke Beans.instantiate reflectively or the equivalent with core reflection when module java.desktop is not readable.
- 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 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 javax.activation.MailcapCommandMap
- confDir - Static variable in class javax.activation.MimetypesFileTypeMap
- 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.
- currentCommandMap - Variable in class javax.activation.DataHandler
- currentPosition - Variable in class com.sun.activation.registries.LineTokenizer
- currentToken - Variable in class com.sun.activation.registries.MailcapTokenizer
- currentTokenValue - Variable in class com.sun.activation.registries.MailcapTokenizer
D
- data - Variable in class com.sun.activation.registries.MailcapTokenizer
- data_ins - Variable in class com.sun.activation.viewers.TextEditor
- dataContentHandler - Variable in class javax.activation.DataHandler
- 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 - Variable in class javax.activation.DataHandlerDataSource
- 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. - DataHandlerDataSource - Class in javax.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 javax.activation.DataHandlerDataSource
-
The constructor.
- dataIndex - Variable in class com.sun.activation.registries.MailcapTokenizer
- dataLength - Variable in class com.sun.activation.registries.MailcapTokenizer
- dataSource - Variable in class javax.activation.DataHandler
- DataSource - Interface in javax.activation
-
The DataSource interface provides Jakarta Activation with an abstraction of an arbitrary collection of data.
- DataSourceDataContentHandler - Class in javax.activation
- DataSourceDataContentHandler(DataContentHandler, DataSource) - Constructor for class javax.activation.DataSourceDataContentHandler
-
The constructor.
- DB - Variable in class javax.activation.MailcapCommandMap
- DB - Variable in class javax.activation.MimetypesFileTypeMap
- dch - Variable in class javax.activation.DataSourceDataContentHandler
- dch - Variable in class javax.activation.ObjectDataContentHandler
- debug - Static variable in class com.sun.activation.registries.LogSupport
- DEBUG - Variable in class com.sun.activation.viewers.ImageViewer
- DEBUG - Variable in class com.sun.activation.viewers.TextEditor
- DEBUG - Variable in class com.sun.activation.viewers.TextViewer
- defaultCommandMap - Static variable in class javax.activation.CommandMap
- defaultMap - Static variable in class javax.activation.FileTypeMap
- defaultType - Static variable in class javax.activation.MimetypesFileTypeMap
- ds - Variable in class javax.activation.DataSourceDataContentHandler
E
- emptyFlavors - Static variable in class javax.activation.DataHandler
- 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
- extension - Variable in class com.sun.activation.registries.MimeTypeEntry
F
- factory - Static variable in class javax.activation.DataHandler
- factoryDCH - Variable in class javax.activation.DataHandler
- fallback_hash - Variable in class com.sun.activation.registries.MailcapFile
-
Another Map like above, but for fallback entries.
- 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.
- fis - Variable in class com.sun.activation.viewers.TextEditor
- fixEscapeSequences(String) - Static method in class com.sun.activation.registries.MailcapTokenizer
- fname - Variable in class com.sun.activation.registries.MimeTypeFile
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.DataHandler
-
Use the MimeType class to extract the MIME type/subtype, ignoring the parameters.
- 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.
- getCommandMap() - Method in class javax.activation.DataHandler
-
Return the CommandMap for this instance of DataHandler.
- 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.
- getContent(DataSource) - Method in class javax.activation.DataSourceDataContentHandler
- getContent(DataSource) - Method in class javax.activation.ObjectDataContentHandler
- getContentType() - Method in class javax.activation.DataHandler
-
Return the MIME type of this object as retrieved from the source object.
- getContentType() - Method in class javax.activation.DataHandlerDataSource
-
Returns the MIME type of the data represented by this 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.
- getContextClassLoader() - Static method in class javax.activation.SecuritySupport
- getCurrentToken() - Method in class com.sun.activation.registries.MailcapTokenizer
-
Retrieve current token.
- getCurrentTokenValue() - Method in class com.sun.activation.registries.MailcapTokenizer
- getDataContentHandler() - Method in class javax.activation.DataHandler
-
Get the DataContentHandler for this DataHandler:
- getDataContentHandler(String) - Method in class javax.activation.MailcapCommandMap
- getDataSource() - Method in class javax.activation.DataHandler
-
Return the DataSource associated with this instance of DataHandler.
- getDCH() - Method in class javax.activation.ObjectDataContentHandler
-
Return the DataContentHandler for this object.
- 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 class javax.activation.DataHandlerDataSource
-
Returns an
InputStream
representing 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 class javax.activation.DataHandlerDataSource
-
Returns 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.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 class javax.activation.DataHandlerDataSource
-
Returns the
OutputStream
for this object. - 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.
- getResourceAsStream(Class, String) - Static method in class javax.activation.SecuritySupport
- getResources(ClassLoader, String) - Static method in class javax.activation.SecuritySupport
- getSubType() - Method in class javax.activation.MimeType
-
Retrieve the subtype of this object.
- getSystemResources(String) - Static method in class javax.activation.SecuritySupport
- 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.
- getTransferData(DataFlavor, DataSource) - Method in class javax.activation.DataSourceDataContentHandler
-
Return the Transfer Data of type DataFlavor from InputStream.
- getTransferData(DataFlavor, DataSource) - Method in class javax.activation.ObjectDataContentHandler
-
Return the Transfer Data of type DataFlavor from InputStream.
- 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.
- getTransferDataFlavors() - Method in class javax.activation.DataSourceDataContentHandler
-
Return the DataFlavors for this
DataContentHandler
. - getTransferDataFlavors() - Method in class javax.activation.ObjectDataContentHandler
-
Return the DataFlavors for this
DataContentHandler
. - getURL() - Method in class javax.activation.URLDataSource
-
Return the URL used to create this DataSource.
H
- hasMoreTokens() - Method in class com.sun.activation.registries.LineTokenizer
-
Tests if there are more tokens available from this tokenizer's string.
- humanPresentableName - Variable in class javax.activation.ActivationDataFlavor
I
- image - Variable in class com.sun.activation.viewers.ImageViewer
- 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
- instantiate(ClassLoader, String) - Static method in class javax.activation.CommandInfo.Beans
-
Equivalent to invoking java.beans.Beans.instantiate(loader, cn)
- instantiateMethod - Static variable in class javax.activation.CommandInfo.Beans
- isAutoquoting - Variable in class com.sun.activation.registries.MailcapTokenizer
- isControlChar(char) - Static method in class com.sun.activation.registries.MailcapTokenizer
- 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.
- isSpecialChar(char) - Static method in class com.sun.activation.registries.MailcapTokenizer
- isStringTokenChar(char) - Static method in class com.sun.activation.registries.MailcapTokenizer
- isTokenChar(char) - Static method in class javax.activation.MimeType
-
Determine whether or not a given character belongs to a legal token.
- isTokenChar(char) - Static method in class javax.activation.MimeTypeParameterList
-
Determine whether or not a given character belongs to a legal token.
- isValidToken(String) - Method in class javax.activation.MimeType
-
Determine whether or not a given string is a legal token.
- isWhiteSpaceChar(char) - Static method in class com.sun.activation.registries.MailcapTokenizer
J
- jakarta.activation - module jakarta.activation
- javax.activation - package javax.activation
-
Jakarta Activation is used by Jakarta Mail to manage MIME data.
L
- level - Static variable in class com.sun.activation.registries.LogSupport
- LineTokenizer - Class in com.sun.activation.registries
- LineTokenizer(String) - Constructor for class com.sun.activation.registries.LineTokenizer
-
Constructs a tokenizer for the specified string.
- loadAllResources(List, String) - Method in class javax.activation.MailcapCommandMap
-
Load all of the named resource.
- loadAllResources(Vector, String) - Method in class javax.activation.MimetypesFileTypeMap
-
Load all of the named resource.
- loadFile(String) - Method in class javax.activation.MailcapCommandMap
-
Load from the named file.
- loadFile(String) - Method in class javax.activation.MimetypesFileTypeMap
-
Load the named file.
- loadResource(String) - Method in class javax.activation.MailcapCommandMap
-
Load from the named resource.
- loadResource(String) - Method in class javax.activation.MimetypesFileTypeMap
-
Load from the named resource.
- log(String) - Static method in class com.sun.activation.registries.LogSupport
- log(String, Throwable) - Static method in class com.sun.activation.registries.LogSupport
- logger - Static variable in class com.sun.activation.registries.LogSupport
- LogSupport - Class in com.sun.activation.registries
-
Logging related methods.
- LogSupport() - Constructor for class com.sun.activation.registries.LogSupport
-
Constructor.
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
- map - Static variable in class javax.activation.CommandMap
- map - Static variable in class javax.activation.FileTypeMap
- 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.
- maxPosition - Variable in class com.sun.activation.registries.LineTokenizer
- mergeResults(Map, Map) - Method in class com.sun.activation.registries.MailcapFile
-
Merge the first hash into the second.
- mimeObject - Variable in class javax.activation.ActivationDataFlavor
- mimeType - Variable in class javax.activation.ActivationDataFlavor
- mimeType - Variable in class javax.activation.ObjectDataContentHandler
- 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
- native_commands - Variable in class com.sun.activation.registries.MailcapFile
-
A Map indexed by MIME type (string) that references a List of native commands (string) corresponding to the type.
- nextToken() - Method in class com.sun.activation.registries.LineTokenizer
-
Returns the next token from this tokenizer.
- 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.
O
- obj - Variable in class javax.activation.ObjectDataContentHandler
- objDataSource - Variable in class javax.activation.DataHandler
- object - Variable in class javax.activation.DataHandler
- ObjectDataContentHandler - Class in javax.activation
- ObjectDataContentHandler(DataContentHandler, Object, String) - Constructor for class javax.activation.ObjectDataContentHandler
-
The constructor.
- objectMimeType - Variable in class javax.activation.DataHandler
- oldFactory - Variable in class javax.activation.DataHandler
- openStream(URL) - Static method in class javax.activation.SecuritySupport
P
- paint(Graphics) - Method in class com.sun.activation.viewers.ImageViewerCanvas
-
paint method
- panel_gb - Variable in class com.sun.activation.viewers.TextEditor
- parameters - Variable in class javax.activation.MimeType
- parameters - Variable in class javax.activation.MimeTypeParameterList
- parse(BufferedReader) - Method in class com.sun.activation.registries.MimeTypeFile
-
Parse a stream of mime.types entries.
- parse(Reader) - Method in class com.sun.activation.registries.MailcapFile
-
parse file into a hash table of MC Type Entry Obj
- parse(String) - Method in class javax.activation.MimeType
-
A routine for parsing the MIME type out of a String.
- parse(String) - Method in class javax.activation.MimeTypeParameterList
-
A routine for parsing the parameter list out of a String.
- parseEntry(String) - Method in class com.sun.activation.registries.MimeTypeFile
-
Parse single mime.types entry.
- parseLine(String) - Method in class com.sun.activation.registries.MailcapFile
-
A routine to parse individual entries in a Mailcap file.
- performSaveOperation() - Method in class com.sun.activation.viewers.TextEditor
- primaryType - Variable in class javax.activation.MimeType
- processAutoquoteToken() - Method in class com.sun.activation.registries.MailcapTokenizer
- processStringToken() - Method in class com.sun.activation.registries.MailcapTokenizer
- PROG - Static variable in class javax.activation.MailcapCommandMap
- PROG - Static variable in class javax.activation.MimetypesFileTypeMap
- pushToken(String) - Method in class com.sun.activation.registries.LineTokenizer
Q
- quote(String) - Static method in class javax.activation.MimeTypeParameterList
-
A routine that knows how and when to quote and escape the given value.
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
- representationClass - Variable in class javax.activation.ActivationDataFlavor
S
- save_button - Variable in class com.sun.activation.viewers.TextEditor
- SecuritySupport - Class in javax.activation
-
Security related methods that only work on J2SE 1.2 and newer.
- SecuritySupport() - Constructor for class javax.activation.SecuritySupport
- 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.ImageViewer
-
Set the data stream, component to assume it is ready to be read.
- 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.
- shortType - Variable in class javax.activation.DataHandler
- singles - Static variable in class com.sun.activation.registries.LineTokenizer
- size() - Method in class javax.activation.MimeTypeParameterList
-
Return the number of name-value pairs in this list.
- skipWhiteSpace() - Method in class com.sun.activation.registries.LineTokenizer
-
Skips white space.
- skipWhiteSpace(String, int) - Static method in class javax.activation.MimeTypeParameterList
-
return the index of the first non white space character in rawdata at or after index i.
- SLASH_TOKEN - Static variable in class com.sun.activation.registries.MailcapTokenizer
- stack - Variable in class com.sun.activation.registries.LineTokenizer
- START_TOKEN - Static variable in class com.sun.activation.registries.MailcapTokenizer
- str - Variable in class com.sun.activation.registries.LineTokenizer
- STRING_TOKEN - Static variable in class com.sun.activation.registries.MailcapTokenizer
- subType - Variable in class javax.activation.MimeType
T
- text_area - Variable in class com.sun.activation.viewers.TextEditor
- text_area - Variable in class com.sun.activation.viewers.TextViewer
- text_buffer - Variable in class com.sun.activation.viewers.TextEditor
- text_buffer - Variable in class com.sun.activation.viewers.TextViewer
- text_file - Variable in class com.sun.activation.viewers.TextEditor
- text_file - Variable in class com.sun.activation.viewers.TextViewer
- 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.
- transferFlavors - Variable in class javax.activation.DataHandler
- transferFlavors - Variable in class javax.activation.DataSourceDataContentHandler
- transferFlavors - Variable in class javax.activation.ObjectDataContentHandler
- TSPECIALS - Static variable in class javax.activation.MimeType
-
A string that holds all the special chars.
- TSPECIALS - Static variable in class javax.activation.MimeTypeParameterList
-
A string that holds all the special chars.
- type - Variable in class com.sun.activation.registries.MimeTypeEntry
- type_hash - Variable in class com.sun.activation.registries.MailcapFile
-
A Map indexed by MIME type (string) that references a Map of commands for each type.
- type_hash - Variable in class com.sun.activation.registries.MimeTypeFile
- typeMap - Variable in class javax.activation.FileDataSource
U
- UNKNOWN_TOKEN - Static variable in class com.sun.activation.registries.MailcapTokenizer
- unquote(String) - Static method in class javax.activation.MimeTypeParameterList
-
A routine that knows how to strip the quotes and escape sequences from the given value.
- 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.
- url - Variable in class javax.activation.URLDataSource
- url_conn - Variable in class javax.activation.URLDataSource
- 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.
V
- verb - Variable in class javax.activation.CommandInfo
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.
- writeTo(Object, String, OutputStream) - Method in class javax.activation.DataSourceDataContentHandler
-
Write the object to the output stream.
- writeTo(Object, String, OutputStream) - Method in class javax.activation.ObjectDataContentHandler
-
Write the object to the output stream.
_
- _dh - Variable in class com.sun.activation.viewers.ImageViewer
- _dh - Variable in class com.sun.activation.viewers.TextEditor
- _dh - Variable in class com.sun.activation.viewers.TextViewer
- _file - Variable in class javax.activation.FileDataSource
All Classes All Packages