Class TouchCommand
java.lang.Object
net.thevpc.nsh.cmd.NshBuiltinBase
net.thevpc.nsh.cmd.NshBuiltinDefault
net.thevpc.nsh.cmd.impl.posix.TouchCommand
- All Implemented Interfaces:
NshBuiltin, NComponent
touch - change file timestamps or create empty files
- Author:
- thevpc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidmain(NCmdLine cmdLine, NshExecutionContext context) protected booleannextNonOption(NArg arg, NCmdLine cmdLine, NshExecutionContext context) protected booleannextOption(NArg arg, NCmdLine cmdLine, NshExecutionContext context) Methods inherited from class NshBuiltinBase
autoComplete, cmdLine, createOptions, exec, getHelp, getHelpHeader, getName, init, isEnabled, setEnabled, throwExecutionException, validate
-
Constructor Details
-
TouchCommand
public TouchCommand()
-
-
Method Details
-
nextOption
- Specified by:
nextOptionin classNshBuiltinBase
-
nextNonOption
- Specified by:
nextNonOptionin classNshBuiltinBase
-
main
- Specified by:
mainin classNshBuiltinBase
-