pageparserselector.java
来自「一个jsp网页布局框架」· Java 代码 · 共 26 行
JAVA
26 行
package com.opensymphony.module.sitemesh;/** * @author Joe Walnes */public interface PageParserSelector { /** * Determine whether a Page of given content-type should be parsed or not. */ boolean shouldParsePage(String contentType); /** * Create a PageParser suitable for the given content-type. * * <p>For example, if the supplied parameter is <code>text/html</code> * a parser shall be returned that can parse HTML accordingly.</p> Never returns null. * * @param contentType The MIME content-type of the data to be parsed * @return Appropriate <code>PageParser</code> for reading data * */ PageParser getPageParser(String contentType);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?