HTMLParse class

来源:互联网 发布:淘宝买电话卡要身份证 编辑:程序博客网 时间:2024/06/05 06:20

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.
 *
 *
 * @author Jeff Heaton
 * @version 1.0
 */
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();
  }
}
 

原创粉丝点击