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, setDefaultpublic PrintStreamInfoStream(PrintStream stream)
public PrintStreamInfoStream(PrintStream stream, int messageID)
public 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
IOExceptionpublic boolean isSystemStream()
Copyright © 2010 - 2020 Adobe. All Rights Reserved