ResultType - The result of the parsing.public abstract class AbstractHTMLParser<ResultType> extends AbstractParser<ResultType>
| Constructor and Description |
|---|
AbstractHTMLParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
fetchResource()
Fetches the currently set resource, by building an URL and opening a stream.
|
void |
fetchResource(String resourceExtension)
Fetches the currently set resource, concatenating the given extension before opening a stream.
|
void |
fetchWithQuery(Map<String,String> queryMap)
Builds a URL with the specified parameters in the query map and sets the input stream as a fetch result.
|
getFetchResult, getResource, setFetchResult, setResourcepublic void fetchResource()
public void fetchResource(String resourceExtension)
resourceExtension - The string that is added to the end of the current resource.Copyright © 2017. All rights reserved.