Configurablepublic static class TouchCommands.Touchz extends TouchCommands
TouchCommands.Touch, TouchCommands.Touchz| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
DESCRIPTION |
|
static java.lang.String |
NAME |
|
static java.lang.String |
USAGE |
args, COMMAND_DESCRIPTION_FIELD, COMMAND_NAME_FIELD, COMMAND_USAGE_FIELD, err, exceptions, exitCode, name, numErrors, out, recursive| Constructor | Description |
|---|---|
Touchz() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
processNonexistentPath(PathData item) |
Provides a hook for handling paths that don't exist.
|
protected void |
processOptions(java.util.LinkedList<java.lang.String> args) |
Must be implemented by commands to process the command line flags and
check the bounds of the remaining arguments.
|
protected void |
processPath(PathData item) |
Hook for commands to implement an operation to be applied on each
path for the command.
|
registerCommandsgetCommandName, processRawArguments, run, runAlldisplayError, displayError, displayWarning, exitCodeForError, expandArgument, expandArguments, getCommandFactory, getDepth, getDescription, getListingGroupSize, getName, getReplacementCommand, getUsage, isDeprecated, isPathRecursable, isRecursive, isSorted, postProcessPath, processArgument, processArguments, processPathArgument, processPaths, processPaths, recursePath, run, run, setCommandFactory, setName, setRecursivegetConf, setConfpublic static final java.lang.String NAME
public static final java.lang.String USAGE
public static final java.lang.String DESCRIPTION
protected void processOptions(java.util.LinkedList<java.lang.String> args)
CommandprocessOptions in class Commandargs - the command line argumentsprotected void processPath(PathData item) throws java.io.IOException
CommandprocessPath in class Commanditem - a PathData objectjava.io.IOException - if anything else goes wrong in the user-implementationprotected void processNonexistentPath(PathData item) throws java.io.IOException
CommandprocessNonexistentPath in class Commanditem - the PathData that doesn't existjava.io.FileNotFoundException - if arg is a path and it doesn't existjava.io.IOException - if anything else goes wrong...Copyright © 2008–2025 Apache Software Foundation. All rights reserved.