public class SourceConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<java.lang.String> |
hyperToKeep
A list of hyperlink types to keep when parsing the hyperlink list.
|
boolean |
parseHyperlinks
True if parse hyperlinks.
|
boolean |
removeFormatting
True if remove the text formatting.
|
boolean |
removeHead
True if remove the html head section.
|
boolean |
removeHtmlCoded
True if remove coded text, that is, text where the
<> brackets are replaced
with the & to ; coding. |
boolean |
removeXmlTags
True if remove all content inside of XML-style
<> brackets. |
Constructor and Description |
---|
SourceConfig()
Create a new instance of SourceConfig.
|
public boolean parseHyperlinks
public boolean removeFormatting
public boolean removeHead
public boolean removeHtmlCoded
<>
brackets are replaced
with the & to ;
coding. Similar to the XML-style coding.
True by default.public boolean removeXmlTags
<>
brackets. This will also
remove any html formatting section, etc, such as div or paragraph sections.
True by default.public java.util.ArrayList<java.lang.String> hyperToKeep
HtmlConst.HTTPLINK or IMAGELINK
. Empty by default.