Show / Hide Table of Contents

    Interface IAutoDetector

    Classes which accept an and provide a which figures out the encoding of the and reads characters from it should conform to this interface.

    Namespace: TagSoup
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public interface IAutoDetector

    Methods

    | Improve this Doc View Source

    AutoDetectingReader(Stream)

    Given a , return a suitable that understands the presumed character encoding of that . If bytes are consumed from the in the process, they must be pushed back onto the InputStream so that they can be reinterpreted as characters.

    Declaration
    TextReader AutoDetectingReader(Stream stream)
    Parameters
    Type Name Description
    Stream stream

    The

    Returns
    Type Description
    TextReader

    A that reads from the

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)