org.opoo.press
接口 Converter

所有超级接口:
Ordered
所有已知实现类:
IdentityConverter, TextilejConverter, TxtmarkMarkdownConverter

public interface Converter
extends Ordered

Converter interface.

作者:
Alex Lin

字段摘要
 
从接口 org.opoo.press.Ordered 继承的字段
COMPARATOR
 
方法摘要
 String convert(String content)
          Convert the content.
 String getOutputFileExtension(Source src)
          The converted content filename extension, must start with a '
 boolean matches(Source src)
          Determine this converter matches the specified source.
 
从接口 org.opoo.press.Ordered 继承的方法
getOrder
 

方法详细信息

matches

boolean matches(Source src)
Determine this converter matches the specified source.

参数:
src -
返回:
return true if matched

convert

String convert(String content)
Convert the content.

参数:
content -
返回:
converted content

getOutputFileExtension

String getOutputFileExtension(Source src)
The converted content filename extension, must start with a '.', such as '.html'.

参数:
src -
返回:
file extension start with a '.'


Copyright © 2013 Opoo.org. All Rights Reserved.