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, setDefaultpublic void message(String component, String message)
InfoStreammessage in class InfoStreampublic boolean isEnabled(String component)
InfoStreamInfoStream.message(java.lang.String, java.lang.String).isEnabled in class InfoStreampublic void close()
throws IOException
IOExceptionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.