public class NullInfoStream extends InfoStream
NO_OUTPUT
Constructor and Description |
---|
NullInfoStream() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
isEnabled(String component)
returns true if messages are enabled and should be posted to
InfoStream.message(java.lang.String, java.lang.String) . |
void |
message(String component,
String message)
prints a message
|
getDefault, setDefault
public void message(String component, String message)
InfoStream
message
in class InfoStream
public boolean isEnabled(String component)
InfoStream
InfoStream.message(java.lang.String, java.lang.String)
.isEnabled
in class InfoStream
public void close() throws IOException
IOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.