📄 pageparser.java
字号:
/* * Title: PageParser * Description: * * This software is published under the terms of the OpenSymphony Software * License version 1.1, of which a copy has been included with this * distribution in the LICENSE.txt file. */package com.opensymphony.module.sitemesh;import java.io.IOException;/** * The PageParser is responsible for parsing the page data into an appropriate * {@link com.opensymphony.module.sitemesh.Page} object. * * <p>The implementation of this can be switched to parse different kind of data * (<i>e.g.</i> HTML, WML, FOP, images) or for performance enhancements. An * implementation is obtained through the {@link com.opensymphony.module.sitemesh.Factory} .</p> * * <p>A single PageParser is reused, therefore the parse() methods need to be thread-safe.</p> * * @author <a href="joe@truemesh.com">Joe Walnes</a> * @version $Revision: 1.2 $ */public interface PageParser { /** * This builds a Page. */ Page parse(char[] data) throws IOException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -