htmlparse.java

来自「bot-package,网络爬虫的源代码」· Java 代码 · 共 27 行

JAVA
27
字号
package com.heaton.bot;import javax.swing.text.html.*;/** * A VERY simple class meant only to subclass the * HTMLEditorKit class to make the getParser method * public so that we can gain access to an * HTMLEditorKit.Parser object. * * Copyright 2001-2003 by Jeff Heaton (http://www.jeffheaton.com) * * @author Jeff Heaton * @version 1.2 */public class HTMLParse extends HTMLEditorKit {  /**   * Call to obtain a HTMLEditorKit.Parser object.   *   * @return A new HTMLEditorKit.Parser object.   */  public HTMLEditorKit.Parser getParser()  {    return super.getParser();  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?