Package org.infinispan.cli.impl
Class StreamShell
java.lang.Object
org.infinispan.cli.impl.StreamShell
- All Implemented Interfaces:
org.aesh.command.shell.Shell
- Since:
- 14.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleanbooleanorg.aesh.readline.terminal.Keyread()org.aesh.readline.terminal.Keyorg.aesh.readline.terminal.Keyread(org.aesh.readline.Prompt prompt) readLine()readLine(org.aesh.readline.Prompt prompt) org.aesh.terminal.tty.Sizesize()voidwrite(char c) voidwrite(int[] cp) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aesh.command.shell.Shell
readLine, write, writeln
-
Constructor Details
-
StreamShell
public StreamShell() -
StreamShell
-
-
Method Details
-
write
- Specified by:
writein interfaceorg.aesh.command.shell.Shell
-
writeln
- Specified by:
writelnin interfaceorg.aesh.command.shell.Shell
-
write
public void write(int[] cp) - Specified by:
writein interfaceorg.aesh.command.shell.Shell
-
write
public void write(char c) - Specified by:
writein interfaceorg.aesh.command.shell.Shell
-
readLine
- Specified by:
readLinein interfaceorg.aesh.command.shell.Shell- Throws:
InterruptedException
-
readLine
- Specified by:
readLinein interfaceorg.aesh.command.shell.Shell- Throws:
InterruptedException
-
read
- Specified by:
readin interfaceorg.aesh.command.shell.Shell- Throws:
InterruptedException
-
read
- Specified by:
readin interfaceorg.aesh.command.shell.Shell- Throws:
InterruptedException
-
read
public org.aesh.readline.terminal.Key read(org.aesh.readline.Prompt prompt) throws InterruptedException - Specified by:
readin interfaceorg.aesh.command.shell.Shell- Throws:
InterruptedException
-
enableAlternateBuffer
public boolean enableAlternateBuffer()- Specified by:
enableAlternateBufferin interfaceorg.aesh.command.shell.Shell
-
enableMainBuffer
public boolean enableMainBuffer()- Specified by:
enableMainBufferin interfaceorg.aesh.command.shell.Shell
-
size
public org.aesh.terminal.tty.Size size()- Specified by:
sizein interfaceorg.aesh.command.shell.Shell
-
clear
public void clear()- Specified by:
clearin interfaceorg.aesh.command.shell.Shell
-