public class PrintStreamInfoStream extends InfoStream
PrintStream
such as System.out
.NO_OUTPUT
Constructor and Description |
---|
PrintStreamInfoStream(PrintStream stream) |
PrintStreamInfoStream(PrintStream stream,
int messageID) |
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) . |
boolean |
isSystemStream() |
void |
message(String component,
String message)
prints a message
|
clone, getDefault, setDefault
public PrintStreamInfoStream(PrintStream stream)
public PrintStreamInfoStream(PrintStream stream, int messageID)
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
public boolean isSystemStream()
Copyright © 2010 - 2020 Adobe. All Rights Reserved