Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TextWriterInfoStream

    InfoStream implementation over a System.IO.TextWriter such as System.Console.Out.

    NOTE: This is analogous to PrintStreamInfoStream in Lucene.

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    InfoStream
    TextWriterInfoStream
    PrintStreamInfoStream
    Implements
    System.IDisposable
    Inherited Members
    InfoStream.NO_OUTPUT
    InfoStream.Default
    InfoStream.Dispose()
    InfoStream.Clone()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public class TextWriterInfoStream : InfoStream, IDisposable

    Constructors

    | Improve this Doc View Source

    TextWriterInfoStream(TextWriter)

    Declaration
    public TextWriterInfoStream(TextWriter stream)
    Parameters
    Type Name Description
    System.IO.TextWriter stream
    | Improve this Doc View Source

    TextWriterInfoStream(TextWriter, Int32)

    Declaration
    public TextWriterInfoStream(TextWriter stream, int messageID)
    Parameters
    Type Name Description
    System.IO.TextWriter stream
    System.Int32 messageID

    Fields

    | Improve this Doc View Source

    m_messageID

    Declaration
    protected readonly int m_messageID
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_stream

    Declaration
    protected readonly TextWriter m_stream
    Field Value
    Type Description
    System.IO.TextWriter

    Properties

    | Improve this Doc View Source

    IsSystemStream

    Declaration
    public virtual bool IsSystemStream { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    InfoStream.Dispose(Boolean)
    | Improve this Doc View Source

    IsEnabled(String)

    Declaration
    public override bool IsEnabled(string component)
    Parameters
    Type Name Description
    System.String component
    Returns
    Type Description
    System.Boolean
    Overrides
    InfoStream.IsEnabled(String)
    | Improve this Doc View Source

    Message(String, String)

    Declaration
    public override void Message(string component, string message)
    Parameters
    Type Name Description
    System.String component
    System.String message
    Overrides
    InfoStream.Message(String, String)

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.