Package aQute.remote.agent
Class Shell
java.lang.Object
java.io.InputStream
aQute.remote.agent.RedirectInput
aQute.remote.agent.Shell
- All Implemented Interfaces:
Closeable,AutoCloseable
A redirector that redirects the input of a Gogo Command Processor
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class aQute.remote.agent.RedirectInput
getOrg, read, read, readMethods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
Shell
public Shell()
-
-
Method Details
-
open
public void open(org.apache.felix.service.command.CommandSession session) -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classRedirectInput
-
add
Description copied from class:RedirectInputProvide the string that should be treated as input for the running code.- Overrides:
addin classRedirectInput- Parameters:
s- the string- Throws:
IOException
-