com.mkdoc.jspider
Class TextMimeTypeOnlyRule

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

public final class TextMimeTypeOnlyRule
extends AbstractMimeTypeRule

A text only MIME type rule.

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

Constructor Summary
TextMimeTypeOnlyRule()
           
 
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

TextMimeTypeOnlyRule

public TextMimeTypeOnlyRule()
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