public static class AnalyzeOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
AnalyzeOptions.Builder()
Instantiates a new builder.
|
AnalyzeOptions.Builder(Features features)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
AnalyzeOptions |
build()
Builds a AnalyzeOptions.
|
AnalyzeOptions.Builder |
clean(java.lang.Boolean clean)
Set the clean.
|
AnalyzeOptions.Builder |
fallbackToRaw(java.lang.Boolean fallbackToRaw)
Set the fallbackToRaw.
|
AnalyzeOptions.Builder |
features(Features features)
Set the features.
|
AnalyzeOptions.Builder |
html(java.lang.String html)
Set the html.
|
AnalyzeOptions.Builder |
language(java.lang.String language)
Set the language.
|
AnalyzeOptions.Builder |
limitTextCharacters(long limitTextCharacters)
Set the limitTextCharacters.
|
AnalyzeOptions.Builder |
returnAnalyzedText(java.lang.Boolean returnAnalyzedText)
Set the returnAnalyzedText.
|
AnalyzeOptions.Builder |
text(java.lang.String text)
Set the text.
|
AnalyzeOptions.Builder |
url(java.lang.String url)
Set the url.
|
AnalyzeOptions.Builder |
xpath(java.lang.String xpath)
Set the xpath.
|
public AnalyzeOptions.Builder()
public AnalyzeOptions.Builder(Features features)
features
- the featurespublic AnalyzeOptions build()
public AnalyzeOptions.Builder features(Features features)
features
- the featurespublic AnalyzeOptions.Builder text(java.lang.String text)
text
- the textpublic AnalyzeOptions.Builder html(java.lang.String html)
html
- the htmlpublic AnalyzeOptions.Builder url(java.lang.String url)
url
- the urlpublic AnalyzeOptions.Builder clean(java.lang.Boolean clean)
clean
- the cleanpublic AnalyzeOptions.Builder xpath(java.lang.String xpath)
xpath
- the xpathpublic AnalyzeOptions.Builder fallbackToRaw(java.lang.Boolean fallbackToRaw)
fallbackToRaw
- the fallbackToRawpublic AnalyzeOptions.Builder returnAnalyzedText(java.lang.Boolean returnAnalyzedText)
returnAnalyzedText
- the returnAnalyzedTextpublic AnalyzeOptions.Builder language(java.lang.String language)
language
- the languagepublic AnalyzeOptions.Builder limitTextCharacters(long limitTextCharacters)
limitTextCharacters
- the limitTextCharacters