# Class HtmlImporter.Result

java.lang.Object
com.codename1.ui.editor.HtmlImporter.Result

Enclosing class:
  `HtmlImporter`

public static final class HtmlImporter.Result extends Object
The imported content.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<RichBlocks.BlockAttr>`
  `getBlocks()`
  One block attribute per paragraph.
  `List<String>`
  `getImageSources()`
  One image source per character, non-null only for object-replacement characters.
  `List<String>`
  `getLinks()`
  One hyperlink target per character, null outside links.
  `List<TextStyle>`
  `getStyles()`
  One style per character.
  `String`
  `getText()`
  The plain text.
  `boolean`
  `hasBlockContent()`
  True when the fragment explicitly contained block-level markup.

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getText

    public String getText()
    The plain text.

  - ### getStyles

    public List<TextStyle> getStyles()
    One style per character.

  - ### getBlocks

    public List<RichBlocks.BlockAttr> getBlocks()
    One block attribute per paragraph.

  - ### getLinks

    public List<String> getLinks()
    One hyperlink target per character, null outside links.

  - ### getImageSources

    public List<String> getImageSources()
    One image source per character, non-null only for object-replacement characters.

  - ### hasBlockContent

    public boolean hasBlockContent()
    True when the fragment explicitly contained block-level markup.