prettify
Class PrettifyParser

java.lang.Object
  extended by prettify.PrettifyParser
All Implemented Interfaces:
Parser

public class PrettifyParser
extends java.lang.Object
implements Parser

The prettify parser for syntax highlight.

Author:
Chan Wai Shing

Field Summary
protected  Prettify prettify
          The prettify parser.
 
Constructor Summary
PrettifyParser()
          Constructor.
 
Method Summary
 java.util.List<ParseResult> parse(java.lang.String fileExtension, java.lang.String content)
          Parse the content and return the parsed result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prettify

protected Prettify prettify
The prettify parser.

Constructor Detail

PrettifyParser

public PrettifyParser()
Constructor.

Method Detail

parse

public java.util.List<ParseResult> parse(java.lang.String fileExtension,
                                         java.lang.String content)
Description copied from interface: Parser
Parse the content and return the parsed result.

Specified by:
parse in interface Parser
Parameters:
fileExtension - the file extension of the content, null means not provided
content - the content
Returns:
the parsed result