HTML
Enables greater ease in manipulating HTML code, uses JSOUP.
clean
_html.clean(bodyHtml: string, baseUri: string, safelist: org.jsoup.safety.Safelist) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
bodyHtml | string | |
baseUri | string | |
safelist | org.jsoup.safety.Safelist |
Return
( string )
_html.clean(bodyHtml: string, baseUri: string, safelist: org.jsoup.safety.Safelist, outputSettings: org.jsoup.nodes.Document$OutputSettings) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
bodyHtml | string | |
baseUri | string | |
safelist | org.jsoup.safety.Safelist | |
outputSettings | org.jsoup.nodes.Document$OutputSettings |
Return
( string )
_html.clean(bodyHtml: string, safelist: org.jsoup.safety.Safelist) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
bodyHtml | string | |
safelist | org.jsoup.safety.Safelist |
Return
( string )
connect
_html.connect(url: string) : org.jsoup.Connection
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string |
Return
( org.jsoup.Connection )
documentOutputSettings
_html.documentOutputSettings() : org.jsoup.nodes.Document$OutputSettings
Return
( org.jsoup.nodes.Document$OutputSettings )
isValid
_html.isValid(bodyHtml: string, safelist: org.jsoup.safety.Safelist) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
bodyHtml | string | |
safelist | org.jsoup.safety.Safelist |
Return
( boolean )
newSession
_html.newSession() : org.jsoup.Connection
Return
( org.jsoup.Connection )
parse
_html.parse(input: InputStream, baseUri: string, charset: string) : org.jsoup.nodes.Document
Description
It performs an interpretation of a content and returns it in HTML.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
input | InputStream | Content of the HTML file to be processed. |
baseUri | string | Base Url to resolve relative links. |
charset | string | Character encoding type code. |
Return
( org.jsoup.nodes.Document )
File content processed in HTML.
_html.parse(content: string) : org.jsoup.nodes.Document
Description
Through the HTML code it performs the interpretation and returns the object of manipulation.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
content | string | HTML content that will be processed. |
Return
( org.jsoup.nodes.Document )
Object of JSOUP that allows interaction with the HTML code.
_html.parse(file: File, baseUri: string, charset: string) : org.jsoup.nodes.Document
Description
It performs an interpretation of the content of a file and returns it in HTML.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
file | File | File to be processed. |
baseUri | string | Base Url to resolve relative links. |
charset | string | Character encoding type code |
Return
( org.jsoup.nodes.Document )
File content in HTML.
_html.parse(storage: Storage, baseUri: string, charset: string) : org.jsoup.nodes.Document
Description
It performs an interpretation of a content and returns it in HTML.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
storage | Storage | Path of the file in storage that will be processed. |
baseUri | string | Base Url to resolve relative links. |
charset | string | Character encoding type code. |
Return
( org.jsoup.nodes.Document )
File content processed in HTML.
parseBodyFragment
_html.parseBodyFragment(bodyHtml: string) : org.jsoup.nodes.Document
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
bodyHtml | string |
Return
( org.jsoup.nodes.Document )
_html.parseBodyFragment(bodyHtml: string, baseUri: string) : org.jsoup.nodes.Document
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
bodyHtml | string | |
baseUri | string |
Return
( org.jsoup.nodes.Document )
parseURL
_html.parseURL(url: string) : org.jsoup.nodes.Document
Description
Get the HTML through a web address (URL), perform the interpretation and return the manipulation object.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | Object that will be converted to text and sent. |
Return
( org.jsoup.nodes.Document )
Object of JSOUP that allows interaction with the HTML code.
_html.parseURL(url: string, timeoutMillis: int) : org.jsoup.nodes.Document
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
url | string | |
timeoutMillis | int |
Return
( org.jsoup.nodes.Document )
safelist
_html.safelist() : org.jsoup.safety.Safelist
Return
( org.jsoup.safety.Safelist )
_html.safelist(copy: org.jsoup.safety.Safelist) : org.jsoup.safety.Safelist
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
copy | org.jsoup.safety.Safelist |
Return
( org.jsoup.safety.Safelist )