FileDocCategorySizeDatePackage
TabFactory.javaAPI DocExample408Sun Dec 12 10:55:50 GMT 2004com.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
    }
  }
}