pageparser.java
来自「一个jsp网页布局框架」· Java 代码 · 共 33 行
JAVA
33 行
/* * 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 + =
减小字号Ctrl + -
显示快捷键?