| java.lang.Object com.sun.portal.wireless.htmlconversion.servlet.URLScraper
URLScraper | public class URLScraper (Code) | | Retrieves HTML content from a URL using a specified HTTP method, and
provides methods to transform the retrieved HTML content to AML.
author: ashwin.mathew@sun.com |
DEFAULT_CONTEXT | final public static String DEFAULT_CONTEXT(Code) | | The default context path, "/portal".
|
HTTP_METHOD_GET | final public static String HTTP_METHOD_GET(Code) | | Constant specifying the HTTP GET method.
|
HTTP_METHOD_POST | final public static String HTTP_METHOD_POST(Code) | | Constant specifying the HTTP POST method.
|
URL_PARAM | final public static String URL_PARAM(Code) | | The HTTP request parameter holding the
URL to scrape.
|
URL_PREFIX | final public static String URL_PREFIX(Code) | | The prefix for all URLs
|
getAMLContent | public String getAMLContent() throws HtmlConversionException(Code) | | Converts the retrieved content to AML.
Parameters: isFragment - Indicates whether or not the outputAML document is a fragment. |
getResponseCode | public int getResponseCode()(Code) | | |
|
|