Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TextWriterInfoStream

    InfoStream implementation over a TextWriter such as 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
    object
    InfoStream
    TextWriterInfoStream
    PrintStreamInfoStream
    Implements
    IDisposable
    Inherited Members
    InfoStream.NO_OUTPUT
    InfoStream.Default
    InfoStream.Dispose()
    InfoStream.Clone()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public class TextWriterInfoStream : InfoStream, IDisposable

    Constructors

    TextWriterInfoStream(TextWriter)

    InfoStream implementation over a TextWriter such as 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.

    Declaration
    public TextWriterInfoStream(TextWriter stream)
    Parameters
    Type Name Description
    TextWriter stream

    TextWriterInfoStream(TextWriter, int)

    InfoStream implementation over a TextWriter such as 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.

    Declaration
    public TextWriterInfoStream(TextWriter stream, int messageID)
    Parameters
    Type Name Description
    TextWriter stream
    int messageID

    Fields

    m_messageID

    InfoStream implementation over a TextWriter such as 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.

    Declaration
    protected readonly int m_messageID
    Field Value
    Type Description
    int

    m_stream

    InfoStream implementation over a TextWriter such as 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.

    Declaration
    protected readonly TextWriter m_stream
    Field Value
    Type Description
    TextWriter

    Properties

    IsSystemStream

    InfoStream implementation over a TextWriter such as 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.

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

    Methods

    Dispose(bool)

    Disposes this InfoStream

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    InfoStream.Dispose(bool)

    IsEnabled(string)

    Returns true if messages are enabled and should be posted to Message(string, string).

    Declaration
    public override bool IsEnabled(string component)
    Parameters
    Type Name Description
    string component
    Returns
    Type Description
    bool
    Overrides
    InfoStream.IsEnabled(string)

    Message(string, string)

    Prints a message

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

    Implements

    IDisposable
    Back to top Copyright © 2024 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.