org.apache.lucene.util
Class NullInfoStream
java.lang.Object
org.apache.lucene.util.InfoStream
org.apache.lucene.util.NullInfoStream
- All Implemented Interfaces:
- Closeable
public class NullInfoStream
- extends InfoStream
Prints nothing. Just to make sure tests pass w/ and without enabled InfoStream
without actually making noise.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullInfoStream
public NullInfoStream()
message
public void message(String component,
String message)
- Specified by:
message
in class InfoStream
isEnabled
public boolean isEnabled(String component)
- Specified by:
isEnabled
in class InfoStream
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.