com.mkdoc.jspider
Class HtmlAndRdfMimeTypeOnlyRule

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

public class HtmlAndRdfMimeTypeOnlyRule
extends AbstractMimeTypeRule

A rule to parse HTML and RDF content types.

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

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

HtmlAndRdfMimeTypeOnlyRule

public HtmlAndRdfMimeTypeOnlyRule()
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.3 2005-12-13