Package com.botbox.bbsh
Class FileCommands.FileTargetCommand
java.lang.Object
com.botbox.bbsh.BasicLineCommand
com.botbox.bbsh.FileCommands.FileTargetCommand
- All Implemented Interfaces:
AsyncCommand,Command,LineListener
- Direct Known Subclasses:
FileCommands.FileAppendCommand,FileCommands.FileWriteCommand,FileCommands.TeeCommand
- Enclosing class:
- FileCommands
protected static class FileCommands.FileTargetCommand extends BasicLineCommand
-
Constructor Summary
Constructors Constructor Description FileTargetCommand(boolean print, boolean append) -
Method Summary
Modifier and Type Method Description intexecuteCommand(CommandContext context)voidlineRead(java.lang.String line)voidstopCommand(CommandContext context)
-
Constructor Details
-
FileTargetCommand
public FileTargetCommand(boolean print, boolean append)
-
-
Method Details
-
executeCommand
- Throws:
CLIException
-
lineRead
public void lineRead(java.lang.String line) -
stopCommand
- Specified by:
stopCommandin interfaceAsyncCommand- Overrides:
stopCommandin classBasicLineCommand
-