Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
J
M
N
P
R
S
T
U
W
A
ActivationDataFlavor
- Class in
javax.activation
Activation-specific DataFlavor with improved MIME parsing.
ActivationDataFlavor(Class, String, String)
- Constructor for class javax.activation.
ActivationDataFlavor
Constructor.
ActivationDataFlavor(Class, String)
- Constructor for class javax.activation.
ActivationDataFlavor
Constructor.
ActivationDataFlavor(String, String)
- Constructor for class javax.activation.
ActivationDataFlavor
Constructor.
addMailcap(String)
- Method in class javax.activation.
MailcapCommandMap
Adds entries programmatically to the registry.
addMimeTypes(String)
- Method in class javax.activation.
MimetypesFileTypeMap
Adds entries prorammatically to the registry.
C
CommandInfo
- Class in
javax.activation
Description of the result of a command request.
CommandInfo(String, String)
- Constructor for class javax.activation.
CommandInfo
Constructor.
CommandMap
- Class in
javax.activation
Registry of command objects available to the system.
CommandMap()
- Constructor for class javax.activation.
CommandMap
CommandObject
- Interface in
javax.activation
Bean interface to implement in order to receive notification of the command verb.
createDataContentHandler(String)
- Method in class javax.activation.
CommandMap
Returns a DataContentHandler corresponding to the MIME type.
createDataContentHandler(String)
- Method in interface javax.activation.
DataContentHandlerFactory
Returns a new data content handler for the specified MIME type.
createDataContentHandler(String)
- Method in class javax.activation.
MailcapCommandMap
Returns the DCH for the specified MIME type.
D
DataContentHandler
- Interface in
javax.activation
Provider that can convert streams to objects and vice versa.
DataContentHandlerFactory
- Interface in
javax.activation
Factory interface for creating data content handlers.
DataHandler
- Class in
javax.activation
Handler for data available in multiple sources and formats.
DataHandler(DataSource)
- Constructor for class javax.activation.
DataHandler
Constructor in which the data is read from a data source.
DataHandler(Object, String)
- Constructor for class javax.activation.
DataHandler
Constructor using a reified object representation.
DataHandler(URL)
- Constructor for class javax.activation.
DataHandler
Constructor in which the data is read from a URL.
DataSource
- Interface in
javax.activation
An interface by which MIME data can be retrieved and stored.
E
equals(DataFlavor)
- Method in class javax.activation.
ActivationDataFlavor
F
FileDataSource
- Class in
javax.activation
Data source encapsulating a file.
FileDataSource(File)
- Constructor for class javax.activation.
FileDataSource
Constructor.
FileDataSource(String)
- Constructor for class javax.activation.
FileDataSource
Constructor.
FileTypeMap
- Class in
javax.activation
Classifier for the MIME content type of files.
FileTypeMap()
- Constructor for class javax.activation.
FileTypeMap
G
get(String)
- Method in class javax.activation.
MimeTypeParameterList
Returns the value for the specified parameter name.
getAllCommands(String)
- Method in class javax.activation.
CommandMap
Returns the complete list of commands for a MIME type.
getAllCommands()
- Method in class javax.activation.
DataHandler
Returns the complete list of commands for this type of data.
getAllCommands(String)
- Method in class javax.activation.
MailcapCommandMap
Returns all commands for the given MIME type.
getBaseType()
- Method in class javax.activation.
MimeType
Returns the string representation of this MIME type without parameters.
getBean(CommandInfo)
- Method in class javax.activation.
DataHandler
Returns the instantiated bean using the specified command.
getCommand(String, String)
- Method in class javax.activation.
CommandMap
Returns the command corresponding to the specified MIME type and command name.
getCommand(String)
- Method in class javax.activation.
DataHandler
Returns the specified command.
getCommand(String, String)
- Method in class javax.activation.
MailcapCommandMap
Returns the command with the specified name for the given MIME type.
getCommandClass()
- Method in class javax.activation.
CommandInfo
Returns the command class name.
getCommandName()
- Method in class javax.activation.
CommandInfo
Returns the command verb.
getCommandObject(DataHandler, ClassLoader)
- Method in class javax.activation.
CommandInfo
Returns the instantiated bean.
getContent(DataSource)
- Method in interface javax.activation.
DataContentHandler
Returns an object representing the data in its most preferred form.
getContent()
- Method in class javax.activation.
DataHandler
Returns the data as a reified object.
getContentType()
- Method in class javax.activation.
DataHandler
Returns the MIME type of the data (with parameters).
getContentType()
- Method in interface javax.activation.
DataSource
Returns the MIME content type of the data.
getContentType()
- Method in class javax.activation.
FileDataSource
getContentType(File)
- Method in class javax.activation.
FileTypeMap
Returns the content type of the specified file.
getContentType(String)
- Method in class javax.activation.
FileTypeMap
Returns the content type of the specified file path.
getContentType(File)
- Method in class javax.activation.
MimetypesFileTypeMap
Returns the MIME content type of the file.
getContentType(String)
- Method in class javax.activation.
MimetypesFileTypeMap
Returns the MIME type based on the given filename.
getContentType()
- Method in class javax.activation.
URLDataSource
Returns the Content-Type header for the URL.
getDataSource()
- Method in class javax.activation.
DataHandler
Returns the data source from which data is read.
getDefaultCommandMap()
- Static method in class javax.activation.
CommandMap
Returns the default command map.
getDefaultFileTypeMap()
- Static method in class javax.activation.
FileTypeMap
Returns the system default file type map.
getFile()
- Method in class javax.activation.
FileDataSource
Returns the underlying file.
getHumanPresentableName()
- Method in class javax.activation.
ActivationDataFlavor
getInputStream()
- Method in class javax.activation.
DataHandler
Returns an input stream from which the data can be read.
getInputStream()
- Method in interface javax.activation.
DataSource
Returns an input stream from which the data can be read.
getInputStream()
- Method in class javax.activation.
FileDataSource
getInputStream()
- Method in class javax.activation.
URLDataSource
getMimeType()
- Method in class javax.activation.
ActivationDataFlavor
getName()
- Method in class javax.activation.
DataHandler
Returns the name of the data object if created with a DataSource.
getName()
- Method in interface javax.activation.
DataSource
Returns the underlying name of this object.
getName()
- Method in class javax.activation.
FileDataSource
getName()
- Method in class javax.activation.
URLDataSource
Returns the result of
getFile
of the underlying URL.
getNames()
- Method in class javax.activation.
MimeTypeParameterList
Returns an enumeration of all the parameter names.
getOutputStream()
- Method in class javax.activation.
DataHandler
Returns an output stream that can be used to overwrite the underlying data, if the DataSource constructor was used.
getOutputStream()
- Method in interface javax.activation.
DataSource
Returns an output stream to which the data can be written.
getOutputStream()
- Method in class javax.activation.
FileDataSource
getOutputStream()
- Method in class javax.activation.
URLDataSource
getParameter(String)
- Method in class javax.activation.
MimeType
Returns the parameter value for the specified name.
getParameters()
- Method in class javax.activation.
MimeType
Returns the MIME parameters.
getPreferredCommands(String)
- Method in class javax.activation.
CommandMap
Returns the list of preferred commands for a MIME type.
getPreferredCommands()
- Method in class javax.activation.
DataHandler
Returns the preferred commands for this type of data.
getPreferredCommands(String)
- Method in class javax.activation.
MailcapCommandMap
Returns the list of preferred commands for a given MIME type.
getPrimaryType()
- Method in class javax.activation.
MimeType
Returns the primary type.
getRepresentationClass()
- Method in class javax.activation.
ActivationDataFlavor
getSubType()
- Method in class javax.activation.
MimeType
Returns the subtype.
getTransferData(DataFlavor, DataSource)
- Method in interface javax.activation.
DataContentHandler
Returns an object representing the data to be transferred.
getTransferData(DataFlavor)
- Method in class javax.activation.
DataHandler
Returns an object representing the data to be transferred.
getTransferDataFlavors()
- Method in interface javax.activation.
DataContentHandler
Returns a list of the flavors that data can be provided in, ordered by preference.
getTransferDataFlavors()
- Method in class javax.activation.
DataHandler
Returns the data flavors in which this data is available.
getURL()
- Method in class javax.activation.
URLDataSource
Returns the underlying URL.
I
isDataFlavorSupported(DataFlavor)
- Method in class javax.activation.
DataHandler
Indicates whether the specified data flavor is supported for this data.
isEmpty()
- Method in class javax.activation.
MimeTypeParameterList
Indicates if there are no parameters.
isMimeTypeEqual(String)
- Method in class javax.activation.
ActivationDataFlavor
J
javax.activation
- package javax.activation
The GNU JavaBeans™ Activation Framework (JAF) provides a
free
implementation of the JavaBeans™ Activation Framework, version 1.0.2.
M
MailcapCommandMap
- Class in
javax.activation
Implementation of a command map using a
mailcap
file (RFC 1524).
MailcapCommandMap()
- Constructor for class javax.activation.
MailcapCommandMap
Default constructor.
MailcapCommandMap(String)
- Constructor for class javax.activation.
MailcapCommandMap
Constructor specifying a filename.
MailcapCommandMap(InputStream)
- Constructor for class javax.activation.
MailcapCommandMap
Constructor specifying an input stream.
match(MimeType)
- Method in class javax.activation.
MimeType
Returns true if the primary and subtype of this MIME type are the same as in the given MIME type.
match(String)
- Method in class javax.activation.
MimeType
Returns true if the primary and subtype of this MIME type are the same as in the given MIME type string.
MimeType
- Class in
javax.activation
A MIME content type, as defined in RFCs 2045 and 2046.
MimeType()
- Constructor for class javax.activation.
MimeType
Constructor for an
application/*
content type.
MimeType(String)
- Constructor for class javax.activation.
MimeType
Constructor that parses a raw String.
MimeType(String, String)
- Constructor for class javax.activation.
MimeType
Constructor for a new MIME type with the given primary and sub types and an empty parameter list.
MimeTypeParameterList
- Class in
javax.activation
A list of MIME type parameters, as specified in RFCs 2045 and 2046.
MimeTypeParameterList()
- Constructor for class javax.activation.
MimeTypeParameterList
Constructor for an empty parameter list.
MimeTypeParameterList(String)
- Constructor for class javax.activation.
MimeTypeParameterList
Constructor that parses the specified MIME parameter data.
MimeTypeParseException
- Exception in
javax.activation
Exception thrown to indicate a malformed MIME content type.
MimeTypeParseException()
- Constructor for exception javax.activation.
MimeTypeParseException
Constructs a MimeTypeParseException with no detail message.
MimeTypeParseException(String)
- Constructor for exception javax.activation.
MimeTypeParseException
MimeTypeParseException with the specified detail message.
MimetypesFileTypeMap
- Class in
javax.activation
Implementation of FileTypeMap that uses the
mime.types
format.
MimetypesFileTypeMap()
- Constructor for class javax.activation.
MimetypesFileTypeMap
Default constructor.
MimetypesFileTypeMap(String)
- Constructor for class javax.activation.
MimetypesFileTypeMap
Constructor specifying a filename.
MimetypesFileTypeMap(InputStream)
- Constructor for class javax.activation.
MimetypesFileTypeMap
Constructor specifying an input stream.
N
normalizeMimeType(String)
- Method in class javax.activation.
ActivationDataFlavor
normalizeMimeTypeParameter(String, String)
- Method in class javax.activation.
ActivationDataFlavor
P
parse(String)
- Method in class javax.activation.
MimeTypeParameterList
Parses the specified MIME parameter data, storing the results in this object.
R
readExternal(ObjectInput)
- Method in class javax.activation.
MimeType
remove(String)
- Method in class javax.activation.
MimeTypeParameterList
Removes the parameter identified by the specified name.
removeParameter(String)
- Method in class javax.activation.
MimeType
Removes the parameter value for the specified name.
S
set(String, String)
- Method in class javax.activation.
MimeTypeParameterList
Sets the value for the specified parameter name.
setCommandContext(String, DataHandler)
- Method in interface javax.activation.
CommandObject
Initializes the command with the verb it is expected to perform and the data handler describing the data to operate on.
setCommandMap(CommandMap)
- Method in class javax.activation.
DataHandler
Sets the command map to be used by this data handler.
setDataContentHandlerFactory(DataContentHandlerFactory)
- Static method in class javax.activation.
DataHandler
Sets the data content handler factory.
setDefaultCommandMap(CommandMap)
- Static method in class javax.activation.
CommandMap
Sets the default command map.
setDefaultFileTypeMap(FileTypeMap)
- Static method in class javax.activation.
FileTypeMap
Sets the default file type map.
setFileTypeMap(FileTypeMap)
- Method in class javax.activation.
FileDataSource
Sets the file type map to use to determine the content type of the file.
setHumanPresentableName(String)
- Method in class javax.activation.
ActivationDataFlavor
setParameter(String, String)
- Method in class javax.activation.
MimeType
Sets the parameter value for the specified name.
setPrimaryType(String)
- Method in class javax.activation.
MimeType
Sets the primary type.
setSubType(String)
- Method in class javax.activation.
MimeType
Sets the subtype.
size()
- Method in class javax.activation.
MimeTypeParameterList
Returns the number of parameters.
T
toString()
- Method in class javax.activation.
MimeType
Returns the complete string representation of this MIME type.
toString()
- Method in class javax.activation.
MimeTypeParameterList
Returns an RFC 2045-compliant string representation of this parameter list.
U
UnsupportedDataTypeException
- Exception in
javax.activation
Exception indicating that the requested method doesn't support the specified 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 detail message.
URLDataSource
- Class in
javax.activation
DataSource implementation that retrieves its data from a URL.
URLDataSource(URL)
- Constructor for class javax.activation.
URLDataSource
Constructor.
W
writeExternal(ObjectOutput)
- Method in class javax.activation.
MimeType
writeTo(Object, String, OutputStream)
- Method in interface javax.activation.
DataContentHandler
Writes the object as a stream of bytes.
writeTo(OutputStream)
- Method in class javax.activation.
DataHandler
Writes the data as a byte stream.
A
C
D
E
F
G
I
J
M
N
P
R
S
T
U
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes