public class HTMLParser extends Object
| Constructor and Description |
|---|
HTMLParser() |
| Modifier and Type | Method and Description |
|---|---|
static String |
parseHtml(String html,
String prefix,
String postfix)
This method is used to extract a piece of text from a String.
|
public static String parseHtml(String html, String prefix, String postfix)
html - The larger String containing the text to be extracted.prefix - A unique String that occurs directly before the sought text.postfix - The String that occurs directly after the sought text.Copyright © 2015. All rights reserved.