Package | Description |
---|---|
org.unix4j.unix.sed |
Contains private classes used by the
sed command. |
Modifier and Type | Field and Description |
---|---|
protected SedArguments |
AbstractSedProcessor.args |
Modifier and Type | Method and Description |
---|---|
SedArguments |
SedArguments.getForContext(ExecutionContext context) |
protected static SedArguments |
AbstractRegexpProcessor.parsePatternFlags(Command command,
SedArguments args,
String script,
int start) |
Modifier and Type | Method and Description |
---|---|
abstract AbstractSedProcessor |
Command.createProcessorFor(SedArguments args,
LineProcessor output)
Returns a new instance of the appropriate sed processor for this command.
|
abstract AbstractSedProcessor |
Command.createProcessorFor(String script,
SedArguments args,
LineProcessor output)
Returns a new instance of the appropriate sed processor for this command.
|
static Command |
Command.fromArgs(SedArguments args)
Returns the command constant taken from the command option set in args
using the
Command.matches(SedArguments) method Returns null if no
command option is set. |
protected static String |
AbstractSedProcessor.getRegexp(SedArguments args)
Returns the regexp operand from args, either called "regexp" or
"string1".
|
protected static String |
AbstractSedProcessor.getReplacement(SedArguments args)
Returns the replacement operand from args, either called "replacement" or
"string2".
|
abstract boolean |
Command.matches(SedArguments args)
Returns true if the the command option for this command is set in the
specified sed arguments, and false otherwise.
|
protected static SedArguments |
AbstractRegexpProcessor.parsePatternFlags(Command command,
SedArguments args,
String script,
int start) |
Copyright © 2024. All rights reserved.