FileDocCategorySizeDatePackage
TabFactory.javaAPI DocExample410Sat Sep 09 21:21:14 BST 2000com.macfaq.net.www.content

TabFactory.java

package com.macfaq.net.www.content;

import java.net.*;

public class TabFactory implements ContentHandlerFactory {

  public ContentHandler createContentHandler(String mimeType) {

    if (mimeType.equals("text/tab-separated-values")) {
      return new com.macfaq.net.www.content.text.tab_separated_values();
    }
    else {
      return null; // look for the handler in the default locations
    }

  }

}