info.bliki.api
Class HtmlUtilities

java.lang.Object
  extended by info.bliki.api.HtmlUtilities

public class HtmlUtilities
extends java.lang.Object

TODO: delete this class file! Sources adopted from the article Add Java extensions to your wiki with permission from Randall Scarberry.


Nested Class Summary
static class HtmlUtilities.HtmlFormHandler
           
 
Field Summary
static java.lang.String FORM_TAG
           
static java.lang.String INPUT_TAG
           
static java.lang.String TEXTAREA_TAG
           
 
Constructor Summary
HtmlUtilities()
           
 
Method Summary
static HtmlForm extractForm(java.lang.String formID, java.lang.String html)
          Extracts and parses an HTML form from a page of HTML.
static HtmlForm parseForm(java.lang.String formID, java.lang.String html, boolean trapExceptions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORM_TAG

public static final java.lang.String FORM_TAG
See Also:
Constant Field Values

INPUT_TAG

public static final java.lang.String INPUT_TAG
See Also:
Constant Field Values

TEXTAREA_TAG

public static final java.lang.String TEXTAREA_TAG
See Also:
Constant Field Values
Constructor Detail

HtmlUtilities

public HtmlUtilities()
Method Detail

extractForm

public static HtmlForm extractForm(java.lang.String formID,
                                   java.lang.String html)
Extracts and parses an HTML form from a page of HTML.

Parameters:
formID -
html -
Returns:

parseForm

public static HtmlForm parseForm(java.lang.String formID,
                                 java.lang.String html,
                                 boolean trapExceptions)
                          throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.