Interface HtmlTool.ExtractResult

  • Enclosing class:
    HtmlTool

    public static interface HtmlTool.ExtractResult
    A container to carry element extraction results. Contains the extracted element HTML code and the remainder of the body content with elements removed.
    Since:
    1.0
    Author:
    Andrius Velykis
    • Method Detail

      • getExtracted

        List<String> getExtracted()
        Retrieves the extracted HTML elements.
        Returns:
        List of HTML of extracted elements. Can be empty if no elements found.
      • getRemainder

        String getRemainder()
        Retrieves the content from which elements were extracted.
        Returns:
        The HTML content with extracted elements removed.