net.mlw.util
Class ParsingUtils

java.lang.Object
  |
  +--net.mlw.util.ParsingUtils

public final class ParsingUtils
extends java.lang.Object

Version:
$Revision: 1.4 $ $Date: 2004/03/17 14:20:21 $
Author:
Matthew L. Wilson

Method Summary
static java.lang.String getTdContents(java.lang.String html, java.lang.String defaultValue)
          Returns a String array derived from the contents of the s.
static java.lang.String getTdContents(java.lang.String html, java.lang.String defaultValue, int offset)
          Returns a String array derived from the contents of the s.
static java.lang.String[] getTdContentsAsArray(java.lang.String html)
          Returns a String array derived from the contents of the s.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTdContentsAsArray

public static java.lang.String[] getTdContentsAsArray(java.lang.String html)
Returns a String array derived from the contents of the s.

Parameters:
html - The text to parse
Returns:
String array derived from the contents of the s.

getTdContents

public static java.lang.String getTdContents(java.lang.String html,
                                             java.lang.String defaultValue)
Returns a String array derived from the contents of the s.

Parameters:
html - The text to parse
defaultValue - If the TD is empty then use this value.
Returns:
String array derived from the contents of the s.

getTdContents

public static java.lang.String getTdContents(java.lang.String html,
                                             java.lang.String defaultValue,
                                             int offset)
Returns a String array derived from the contents of the s.

Parameters:
html - The text to parse
defaultValue - If the TD is empty then use this value.
offset - the number of TDs to skip.
Returns:
The value of the td.


Copyright © 2003-2004 mlavilson. All Rights Reserved.