public class NullRedirector extends java.lang.Object implements Redirector
| Constructor and Description |
|---|
NullRedirector() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.io.PrintStream |
getOut()
Get the output stream
|
int |
getPort()
The port (or pseudo port) this one is connected to
|
void |
stdin(java.lang.String s)
Provide input
|
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic int getPort()
RedirectorgetPort in interface Redirectorpublic void stdin(java.lang.String s)
Redirectorstdin in interface Redirectors - the inputpublic java.io.PrintStream getOut()
throws java.lang.Exception
RedirectorgetOut in interface Redirectorjava.lang.ExceptionCopyright (c) aQute SARL (2000, 2019) and others. All Rights Reserved.