public static final class HtmlImporter.Result
- Object
- HtmlImporter.Result
The imported content.
Methods
public String getText() | The plain text. |
public List<TextStyle> getStyles() | One style per character. |
public List<RichBlocks.BlockAttr> getBlocks() | One block attribute per paragraph. |
public List<String> getLinks() | One hyperlink target per character, null outside links. |
public List<String> getImageSources() | One image source per character, non-null only for object-replacement characters. |
public boolean hasBlockContent() | True when the fragment explicitly contained block-level markup. |
Inherited methods
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.