public class Edit extends ShellCommand
| Modifier and Type | Class and Description |
|---|---|
class |
Edit.EditBuffer |
SUBSYSTEM_CALLBACK, SUBSYSTEM_FILESYSTEM, SUBSYSTEM_HELP, SUBSYSTEM_JVM, SUBSYSTEM_POLICY, SUBSYSTEM_SHELL, SUBSYSTEM_SSHD, SUBSYSTEM_SYSTEM, SUBSYSTEM_TEXT_EDITINGexitCodeSTILL_ACTIVE| Constructor and Description |
|---|
Edit() |
| Modifier and Type | Method and Description |
|---|---|
void |
backspace() |
protected void |
checkNewCursorLine() |
void |
cursorDown() |
void |
cursorLeft() |
void |
cursorRight() |
void |
cursorUp() |
void |
delete() |
void |
deleteLine() |
protected void |
drawLine(String line) |
void |
endOfLine() |
void |
enter() |
String |
expandTabs(String line) |
protected char |
getCursorChar() |
protected String |
getCursorLine() |
void |
loadFile(String path) |
void |
pageDown() |
void |
pageUp() |
void |
redraw() |
void |
run(org.apache.commons.cli.CommandLine args,
VirtualProcess process) |
void |
search() |
boolean |
searchAgain(boolean wrap) |
void |
startOfLine() |
void |
typeCharacter(char ch) |
void |
typeString(String str) |
complete, getCollection, getCommandName, getDescription, getExitCode, getName, getOptions, getProcess, getSignature, getSubsystem, hasFixedOptions, init, isBuiltIn, isHidden, setBuiltIn, setDescription, setName, setSignature, setSubsystempublic void run(org.apache.commons.cli.CommandLine args,
VirtualProcess process)
throws IOException,
PermissionDeniedException
IOExceptionPermissionDeniedExceptionpublic void pageUp()
throws IOException
IOExceptionpublic void pageDown()
throws IOException
IOExceptionpublic void cursorUp()
throws IOException
IOExceptionpublic void cursorDown()
throws IOException
IOExceptionpublic void endOfLine()
throws IOException
IOExceptionpublic void startOfLine()
throws IOException
IOExceptionprotected void checkNewCursorLine()
public void cursorLeft()
throws IOException
IOExceptionpublic void backspace()
throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic void deleteLine()
throws IOException
IOExceptionpublic void cursorRight()
throws IOException
IOExceptionpublic void typeString(String str) throws IOException
IOExceptionpublic void typeCharacter(char ch)
throws IOException
IOExceptionpublic void enter()
throws IOException
IOExceptionprotected String getCursorLine()
protected char getCursorChar()
public void search()
throws IOException
IOExceptionpublic boolean searchAgain(boolean wrap)
throws IOException
IOExceptionpublic void redraw()
throws IOException
IOExceptionprotected void drawLine(String line) throws IOException
IOExceptionpublic void loadFile(String path) throws IOException, PermissionDeniedException
IOExceptionPermissionDeniedExceptionCopyright © 2025. All rights reserved.