FileDocCategorySizeDatePackage
CFDContentHandlerFactory.javaAPI DocExample687Sat Jan 31 16:55:08 GMT 1998dcj.examples.Networking

CFDContentHandlerFactory

public class CFDContentHandlerFactory extends Object implements ContentHandlerFactory
Source code from "Java Distributed Computing", by Jim Farley. Class: CFDContentHandlerFactory Example: 2-8 Description: A content handler factory that supports CFD data files by offering a CFDContentHandler to deal with them. This class should be updated to deal with standard mime types as well.

Fields Summary
Constructors Summary
Methods Summary
public java.net.ContentHandlercreateContentHandler(java.lang.String mimetype)

    if (mimetype.compareTo("application/cfd") == 0) {
      return new CFDContentHandler();
    }
    else
      return null;