Package org.apache.lucene.util
Class InfoStream.NoOutput
- java.lang.Object
-
- org.apache.lucene.util.InfoStream
-
- org.apache.lucene.util.InfoStream.NoOutput
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Enclosing class:
- InfoStream
private static final class InfoStream.NoOutput extends InfoStream
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.util.InfoStream
NO_OUTPUT
-
-
Constructor Summary
Constructors Modifier Constructor Description privateNoOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanisEnabled(java.lang.String component)returns true if messages are enabled and should be posted toInfoStream.message(java.lang.String, java.lang.String).voidmessage(java.lang.String component, java.lang.String message)prints a message-
Methods inherited from class org.apache.lucene.util.InfoStream
getDefault, setDefault
-
-
-
-
Method Detail
-
message
public void message(java.lang.String component, java.lang.String message)Description copied from class:InfoStreamprints a message- Specified by:
messagein classInfoStream
-
isEnabled
public boolean isEnabled(java.lang.String component)
Description copied from class:InfoStreamreturns true if messages are enabled and should be posted toInfoStream.message(java.lang.String, java.lang.String).- Specified by:
isEnabledin classInfoStream
-
close
public void close()
-
-