# All Classes

- Class Summary
  Class | Description
  --- | ---
  ActivationDataFlavor_Test | Here we test the three ActivationDataFlavor(..) constructors.
  addMailcap_Test | Create a MailcapCommandMap instance, use it to call addMailcap() method with string parameters, verify the add values, if it successfully completes this operation then this test passes otherwise it fails.
  addMimeTypes_Test | Create an instance of MimetypesFileTypeMap then call addMimeTypes() method with mimetype string, if this operation is successfull then this test passes, otherwise it fails.
  CommandInfo_Test | FileTypeMap is an abstract class.
  createDataContentHandler_Test | CommandMap is an abstract class.
  createDataContentHandler_Test | Create a MailcapCommandMap instance, use it to call createDataContentHandler() method with mimetype parameter, if it successfully returns non-null object of type DataContentHandler, then this test passes otherwise it fails.
  DataHandler_Test | Invoke all constructors to create DataHandler objects.
  equals_Test | We test the 'equals(ActivationDataFlavor)' by passing it ActivationDataFlavor object, if this api returns a boolean {true|false} value then it passes.
  FileDataSource_Test | Create an instance of type FileDataSource, if successfull then this testcase passes, otherwise it fails.
  FileTypeMap_Test | FileTypeMap is an abstract class.
  get_Test | Create an instance of MimeTypeParameterList, then use it to call get() method, with a string argument, if it returns a value(non-null/null) associated with passed in argument, then this test passes, otherwise it fails.
  getAllCommands_Test | CommandMap is an abstract class.
  getAllCommands_Test | Create a DataHandler object then use it to invoke getAllCommands() api, if returns non-null array object containing all commands for the type of data represented in the DataHandler, then this testcase passes.
  getAllCommands_Test | Create a MailcapCommandMap instance, use it to call getAllCommands() method, if it successfully returns non-null array object of type CommandInfo then this test passes otherwise it fails.
  getBaseType_Test | Create a MimeType instance, use it to call getBaseType() method, if it returns a string representation of this object, then this test passes, otherwise it fails.
  getBean_Test | Create a DataHandler object then use it to invoke getBean() api, if it returns a non-null Object then this testcase passes, otherwise it fails.
  getCommand_Test | CommandMap is an abstract class.
  getCommand_Test | Create a DataHandler object then use it to invoke getCommand() api, if this call returns a CommandInfo for specified command name, then this testcase passes, otherwise it fails.
  getCommand_Test | Create a MailcapCommandMap instance, use it to call getCommand() method, if it successfully returns non-null object of type CommandInfo then this test passes otherwise it fails.
  getCommandClass_Test | FileTypeMap is an abstract class.
  getCommandName_Test | FileTypeMap is an abstract class.
  getCommandObject_Test | Create a CommandInfo object using one its contructors, then invoke getCommandObject(), if it returns a non-null object then this test passes otherwise it fails.
  getContent_Test | Create a DataHandler object then use it to call getContent() api, if this method returns non-null Object then this testcase passes.
  getContentType_Test | Create DataHandler objects with mimetype string, then use it to call getContentType() api if it returns the expected mimetype value then this testcase passes otherwise it fails.
  getContentType_Test | Create an instance of FileDataSource, use it to call getContentType() api, if this method returns the MIME type of the data in the form of a string, then this testcase passes, otherwise it fails.
  getContentType_Test | FileTypeMap is an abstract class.
  getContentType_Test | Create an instance of MimetypesFileTypeMap then call getContentType() method with filename parameter and if it returns the type (string) of the file object then this test passes, otherwise it fails.
  getContentType_Test | Create an instance URLDataSource, use it to call getContentType() api, if it returns content type string then this testcase passes, otherwise it fails.
  getDataSource_Test | Create a DataHandler object pass it various types of strings then use these objects to call getDataSource() api if this operation successfully returns DataSource objects then this testcase passes.
  getDefaultCommandMap_Test | CommandMap is an abstract class.
  getDefaultFileTypeMap_Test | FileTypeMap is an abstract class.
  getFile_Test | Create a FileDataSource instance and then use it to call getFile() api, if this method returns a non-null File object, then this testcase passes, otherwise it fails.
  getHumanPresentableName_Test | We first create an object of type ActivationDataFlavor, then call getHumanPresentableName() api on that object, if it returns the same string value as that passed to ActivationDataFlavor constructor then this testcase passes otherwise it fails.
  getInputStream_Test | Create DataHandler objects with various type input file strings then use these objects to call getInputStream() api to fetch InputStream objects, if this is successfull then this testcase passes otherwise it fails.
  getInputStream_Test | Create an instance of FileDataSource, use it to invoke getInputStream() method, if it returns an InputStream representing the data then this testcase passes, if it throws an appropriate exception then it fails.
  getInputStream_Test | Create an instance of URLDataSource, use it call getInputStream() api, if it returns non-null object of type InputStream, then this testcase passes, otherwise it fails.
  getMimeType_Test | Create a ActivationDataFlavor object with mimeType.
  getName_Test | Create DataHandler object and then call getName() api, if this operation returns the expected non-null string then this testcase passes.
  getName_Test | Create an instance of FileDataSource class and use it to call getName() api, if this method returns non-null object then this testcase passes, otherwise it fails.
  getName_Test | Create an instance of URLDataSource, then use it to call getName() method, if it returns a non-null expected string, then this testcase passes, otherwise it fails.
  getNames_Test | Create an instance of MimeTypeParameterList, then use it to call getNames() method, if it returns an enumeration of all the names in this list, then this testcase passes, otherwise it fails.
  getOutputStream_Test | Create DataHandler objects with various type input file strings then use these objects to call getOutputStream() api to fetch OutputStream objects, if this is successfull then this testcase passes otherwise it fails.
  getOutputStream_Test | Create an instance of FileDataSource, use it to invoke getOutputStream() method, if it returns an OutputStream representing the data then this testcase passes, if it throws an appropriate exception then it fails.
  getOutputStream_Test | Create an instance of URLDataSource, use it call getOutputStream() api, if it returns non-null object of type OutputStream, then this testcase passes, otherwise it fails.
  getParameter_Test | Create a MimeType instance, use it to call getParameter() method with a given string name, if it returns a string value associated with the given name then this test passes, otherwise it fails.
  getParameters_Test | Create a MimeType instance, use it to call getParameters() method, if it returns enumerated list of MimeTypeParameterList, then this test passes, otherwise it fails.
  getPreferredCommands_Test | CommandMap is an abstract class.
  getPreferredCommands_Test | Using instances of DataHandler we invoke getPreferredCommands() api, if this method returns a non-null array object of type CommandInfo, of size greater then zero then this testcase passes otherwise it fails.
  getPreferredCommands_Test | Create a MailcapCommandMap instance, use it to call getPreferredCommands() method with mimetype parameter, if it successfully returns non-null array object of type CommandInfo then this test passes otherwise it fails.
  getPrimaryType_Test | Create a MimeType instance, use it to call getPrimaryType() method, if it returns a primary (string) type of this object, then this test passes, otherwise it fails.
  getRepresentationClass_Test | We first create an object of type ActivationDataFlavor(Class,String), call getRepresentationClass() api on that object, if it returns the same string value as that passed to ActivationDataFlavor constructor then this testcase passes otherwise it fails.
  getSubType_Test | Create a MimeType instance, use it to call getSubType() method, if it returns subtype string of this object then this test passes.
  getTransferData_Test | Create DataHandler instances, use them to invoke getTransferData() api, if this method returns an object that represents the data to be transferred, then this testcase passes, otherwise it fails.
  getTransferDataFlavors_Test | Use an instance of type DataHandler to invoke getTransferDataFlavors() api, if this method returns DataFlavors in which this data is available then this testcase passes otherwise it fails.
  getURL_Test | Create an instance of URLDataSource, use it call getURL() api, if it returns expected URL for this DataSource, then this testcase passes, otherwise it fails.
  isDataFlavorSupported_Test | Using an instance of DataHandler object, invoke isDataFlavorSupported() api, with a specified data flavors if it returns a boolean value then this testcase passes.
  isEmpty_Test | Create an instance of MimeTypeParameterList, then use it to call isEmpty() method, if it returns a boolean value for this list, then this testcase passes, otherwise it fails.
  isMimeTypeEqual_Test | We test the isMimeTypeEqual(string) by passing it string objects, if this api returns a boolean {true|false} value then it passes.
  loadFromConf_Test | This class tests that resource files are loaded as expected.
  loadFromConf_Test | This class tests that resource files are loaded as expected.
  loadFromLib_Test | This class tests that resource files are loaded as expected.
  loadFromLib_Test | This class tests that resource files are loaded as expected.
  MailcapCommandMap_Test | Test: MailcapCommandMap() ; default constructor.
  match_Test | Test: boolean match(MimeType); Determine of the primary and sub type of this object is the same as the what is in the given type.
  MimeType_Test | Create MimeType instances, using various constructors, if these operations are successfull, then this test passes, otherwise it fails.
  MimeTypeParameterList_Test | Create MimeTypeParameterList objects using constructors listed below:
  MimeTypeParseException_Test | We test this execption by invoking the two constructors for this class.
  MimetypesFileTypeMap_Test | Test: MimetypesFileTypeMap() ; default constructor
  normalizeMimeType_Test | We create a TestActivationDataFlavor object then invoke testNormalizeMimeType() method which in turn calls normalizeMimeType() api, if it returns the expected string value then this testcase passes, otherwsie it fails.
  normalizeMimeTypeParameter_Test | We create a TestActivationDataFlavor object then invoke testNormalizeMimeTypeParameter() method which in turn calls normalizeMimeTypeParameter() api, if it returns the expected string value then this testcase passes, otherwsie it fails.
  readExternal_Test | Test: readExternal(ObjectInput);
  remove_Test | TEST: remove(string);
  removeParameter_Test | Create a MimeType instance, use it to call removeParameter() method with given string name, then call getParameter(), if this method returns null (since it has been deleted), then this test passes otherwise it fails.
  set_Test | TEST: set(string name, string value);
  setCommandMap_Test | Create instances of DataHandler, then use invoke setCommandMap() api, with various CommandMap object parameters.
  setDataContentHandlerFactory_Test | Use an instance of DataHandler of invoke setDataContentHandlerFactory() api with DataContentHandlerFactory object if this operation is successfull then this testcase passes, otherwise if an exception is thrown then it fails.
  setDefaultCommandMap_Test | CommandMap is an abstract class.
  setDefaultFileTypeMap_Test | FileTypeMap is an abstract class.
  setFileTypeMap_Test | Create an instance of FileDataSource, then use it to call setFileTypeMap() with {FileTypMap|null} parameter, now call getFileTypeMap(), if the set and the get values are the same then this testcsae passes, otherwise it fails.
  setHumanPresentableName_Test | We first create an object of type ActivationDataFlavor, then call setHumanPresentableName(string) api on that object, we then call getHumanPresentableName() api, if it returns same string value that was passed to setHumanPresentableName() then this testcase passes otherwise it fails.
  setMapCommand_Test | Create instances of DataHandler, then use invoke setMapCommand() api, with various CommandMap object parameters.
  setParameter_Test | Create a MimeType instance, use it to call setParameter() method with given string parameters, then call getParameter(), if set/get values are equal, then this test passes otherwise it fails.
  setPrimaryType_Test | Create a MimeType instance, use it to call setPrimaryType() method with primary type string parameter, then call getPrimaryType(), if set/get values are equal, then this test passes otherwise it fails.
  setSubType_Test | Create a MimeType instance, use it to call setSubType() method with subtype string parameter, then call getSubType(), if set/get value is equal, then this test passes otherwise it fails.
  size_Test | Create an instance of MimeTypeParameterList, then use it to call size() method, if it returns the number of name-value pairs in this list, then this testcase passes, otherwise it fails.
  TestActivationDataFlavor | this class extends ActivationDataFlavor and provides public versions of protected methods for JCK testing
  TestCommandMap | This class is used to provide an alternative to the default MailcapCommandMap for testing purposes.
  TestCommandObject | This is utility library routine.
  TestDataSource | A TestDataSource for the DataHandler tests.
  TestDCH | Test DCH that does nothing.
  TestDCHFactory | Test uitlity used by DataHandler class.
  TestFileTypeMap | Test utility library used by FileTypeMap tests.
  TestNoBeans |
  toString_Test | Create a MimeType instance, use it to call toString() method, if it successfully returns non-null string representation of this object, then this test passes otherwise it fails.
  toString_Test | Create an instance of MimeTypeParameterList, then use it to call toString() method, if it returns a string representation of this object, then this testcase passes, otherwise it fails.
  UnnamedModule_Test | Verify that API on module path is able to find and use an implementation, which is provided on the classpath.
  UnsupportedDTException_Test | We test this execption by invoking the two constructors for this class.
  URLDataSource_Test | Create instances of URLDataSource, using the constructors of this class.
  writeExternal_Test | Test: writeExternal(ObjectOutput);
  writeTo_Test | writeTo() api writes out to OutputStream for a given DataHandler object created with DataSource.