ResultType - The result of the parsing.public abstract class AbstractParser<ResultType> extends Object implements Parser<ResultType>
| Constructor and Description |
|---|
AbstractParser() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getFetchResult()
After fetching the current resource, this returns the fetch result.
|
String |
getResource()
Returns the resource.
|
protected void |
setFetchResult(InputStream fetchResult)
Sets the result of any fetch operation.
|
protected void |
setResource(String resource)
Sets the resource.
|
public String getResource()
protected void setResource(String resource)
resource - The resource.public InputStream getFetchResult()
protected void setFetchResult(InputStream fetchResult)
fetchResult - The fetch result.Copyright © 2017. All rights reserved.