Skip to content

Support java.io.Reader #463

@johannburkard

Description

@johannburkard

JSoup supports Strings and InputStreams. That's great but supporting java.io.Reader would be nice. I assume some people assemble HTML in a StringBuilder or StringBuffer and the extra conversion step to a String doubles the amount of RAM required. With support for java.io.Reader, you could use StrBuilder (commons-lang) which has a convenient zero-copy asReader() method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions