com.mkdoc.jspider
Class HtmlAndTextMimeTypeOnlyRule

java.lang.Object
  |
  +--net.javacoding.jspider.core.rule.impl.BaseRuleImpl
        |
        +--com.mkdoc.jspider.AbstractMimeTypeRule
              |
              +--com.mkdoc.jspider.HtmlAndTextMimeTypeOnlyRule
All Implemented Interfaces:
net.javacoding.jspider.spi.Rule

public final class HtmlAndTextMimeTypeOnlyRule
extends AbstractMimeTypeRule

A text and HTML only MIME type rule.

Version:
0.1 2005-12-13
Author:
Philip Shaw

Constructor Summary
HtmlAndTextMimeTypeOnlyRule()
           
 
Method Summary
protected  java.lang.String[] getAcceptedTypes()
          Get an array of the accepted MIME types.
 
Methods inherited from class com.mkdoc.jspider.AbstractMimeTypeRule
accept, apply
 
Methods inherited from class net.javacoding.jspider.core.rule.impl.BaseRuleImpl
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlAndTextMimeTypeOnlyRule

public HtmlAndTextMimeTypeOnlyRule()
Method Detail

getAcceptedTypes

protected final java.lang.String[] getAcceptedTypes()
Get an array of the accepted MIME types.

Specified by:
getAcceptedTypes in class AbstractMimeTypeRule
Returns:
An array of accepted MIME types.
Since:
Version 0.1 2005-12-13