- $0 - Static variable in class org.unix4j.variable.Arg
-
Name for the variable referring to the first command line argument (zero
based index)
- $1 - Static variable in class org.unix4j.variable.Arg
-
Name for the variable referring to the second command line argument (zero
based index)
- $2 - Static variable in class org.unix4j.variable.Arg
-
Name for the variable referring to the third command line argument (zero
based index)
- $3 - Static variable in class org.unix4j.variable.Arg
-
Name for the variable referring to the fourth command line argument (zero
based index)
- $4 - Static variable in class org.unix4j.variable.Arg
-
Name for the variable referring to the fifth command line argument (zero
based index)
- $5 - Static variable in class org.unix4j.variable.Arg
-
Name for the variable referring to the sixth command line argument (zero
based index)
- $6 - Static variable in class org.unix4j.variable.Arg
-
Name for the variable referring to the seventh command line argument
(zero based index)
- $7 - Static variable in class org.unix4j.variable.Arg
-
Name for the variable referring to the eighth command line argument (zero
based index)
- $8 - Static variable in class org.unix4j.variable.Arg
-
Name for the variable referring to the ninth command line argument (zero
based index)
- $9 - Static variable in class org.unix4j.variable.Arg
-
Name for the variable referring to the tenth command line argument (zero
based index)
- $all - Static variable in class org.unix4j.variable.Arg
-
Name for the variable referring to all command line arguments.
- ABORT - Static variable in class org.unix4j.io.NullOutput
-
- AbstractCommand<A extends Arguments<A>> - Class in org.unix4j.command
-
Abstract base class suitable for most command implementations.
- AbstractCommand(String, A) - Constructor for class org.unix4j.command.AbstractCommand
-
Constructor with command name, type and arguments.
- AbstractInput - Class in org.unix4j.io
-
- AbstractInput() - Constructor for class org.unix4j.io.AbstractInput
-
- AbstractLineProcessor<A extends Arguments<A>> - Class in org.unix4j.processor
-
- AbstractLineProcessor(Command<A>, ExecutionContext, LineProcessor) - Constructor for class org.unix4j.processor.AbstractLineProcessor
-
Constructor with command creating this processor, execution context and
output to write to.
- AbstractRange - Class in org.unix4j.util
-
- AbstractRange() - Constructor for class org.unix4j.util.AbstractRange
-
- acronym() - Method in interface org.unix4j.option.Option
-
Returns a one letter acronym for this option.
- add(ValueConverter<? extends V>) - Method in class org.unix4j.convert.CompositeValueConverter
-
- add(AbstractRange) - Method in class org.unix4j.util.CompositeRange
-
- add(Range) - Method in class org.unix4j.util.CompositeRange
-
- addAll(Collection<? extends ValueConverter<? extends V>>) - Method in class org.unix4j.convert.CompositeValueConverter
-
- addVariableResolver(VariableResolver) - Method in class org.unix4j.variable.DefaultVariableContext
-
- addVariableResolver(VariableResolver) - Method in interface org.unix4j.variable.VariableContext
-
Adds a variable resolver to this variable context.
- AdHocCommand - Class in org.unix4j.operation
-
- AdHocCommand(LineOperation) - Constructor for class org.unix4j.operation.AdHocCommand
-
- AdHocCommand.Args - Class in org.unix4j.operation
-
- AdHocCommand.Args(LineOperation) - Constructor for class org.unix4j.operation.AdHocCommand.Args
-
Constructor with the single operation argument passed to the
constructor of
AdHocCommand.
- ALL_CHILDREN_WITH_DOT_PREFIX - Static variable in class org.unix4j.util.RelativePathBase
-
Alternative settings to construct relative paths similar to
RelativePathBase.DEFAULT: "." represents the base directory, "./" is used as
prefix of child paths and "../" for elements up to the common ancestor.
- andBetween(int, int) - Method in class org.unix4j.util.Range
-
Adds a range element to include all indexes between (and including) the given
indexes.
- andFromStartTo(int) - Method in class org.unix4j.util.Range
-
Adds a range element to include all indexes from 1 to and inclusive of the
given index.
- andOf(int...) - Method in class org.unix4j.util.Range
-
- andToEndFrom(int) - Method in class org.unix4j.util.Range
-
Adds a range element to include all indexes from (and including) the given index
to any greater index.
- ANY_ARRAY_TO_LIST - Static variable in class org.unix4j.convert.ListConverters
-
- ANY_ARRAY_TO_STRING_ARRAY - Static variable in class org.unix4j.convert.StringArrayConverters
-
- appendPathForBaseDir(StringBuilder, File) - Method in interface org.unix4j.util.RelativePathBase.Settings
-
Appends the path for a file that equals the base directory.
- appendPrefixForChildren(StringBuilder, File, boolean) - Method in interface org.unix4j.util.RelativePathBase.Settings
-
Appends the path prefix for children of the base directory.
- appendPrefixToCommonAncestor(StringBuilder, File, int) - Method in interface org.unix4j.util.RelativePathBase.Settings
-
Appends the path prefix from the base directory to the common
ancestor of base directory and target file.
- apply(LineOperation) - Method in interface org.unix4j.builder.CommandBuilder
-
Adds a new command based on the specified operation and adds it to the
chain of commands held by this builder.
- apply(LineOperation) - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- Arg - Class in org.unix4j.variable
-
The Arg class defines variable name constants for command arguments.
- arg(int) - Static method in class org.unix4j.variable.Arg
-
Name for the variable referring to the (i+1)th
command line argument (the index i is zero based).
- argIndex(String) - Static method in class org.unix4j.variable.Arg
-
Returns the zero based index of an arg variable given the name of the
variable.
- args() - Static method in class org.unix4j.variable.Arg
-
Name for the variable referring to all command line arguments.
- argsFrom(int) - Static method in class org.unix4j.variable.Arg
-
Name for the variable referring to all command line arguments starting
from the specified index.
- argsFromIndex(String) - Static method in class org.unix4j.variable.Arg
-
Returns the zero based start index of an args variable given the name of
the variable.
- ArgsUtil - Class in org.unix4j.util
-
Provides static utility methods to parse options and operands of a command
passed to the command as a string vararg parameter.
- Arguments<A extends Arguments<A>> - Interface in org.unix4j.command
-
Interface implemented by command arguments.
- ARRAY_TO_FILE_ARRAY - Static variable in class org.unix4j.convert.FileArrayConverters
-
- ARRAY_TO_FLAT_LIST - Static variable in class org.unix4j.convert.ListConverters
-
- ARRAY_TO_LIST - Static variable in class org.unix4j.convert.ListConverters
-
- ARRAY_TO_STRING_ARRAY - Static variable in class org.unix4j.convert.StringArrayConverters
-
- ArrayConverters - Class in org.unix4j.convert
-
- ArrayConverters() - Constructor for class org.unix4j.convert.ArrayConverters
-
- ArrayUtil - Class in org.unix4j.util
-
Utility class with static methods for arrays.
- asInput() - Method in class org.unix4j.io.BufferedOutput
-
Returns a
BufferedInput with all lines contained in this
BufferedOutput.
- asList() - Method in class org.unix4j.io.BufferedOutput
-
Returns a new list with the lines currently stored by this
BufferdOutput object.
- Assert - Class in org.unix4j.util
-
- Assert() - Constructor for class org.unix4j.util.Assert
-
- assertArgFalse(String, boolean) - Static method in class org.unix4j.util.Assert
-
- assertArgGreaterThan(String, int, int) - Static method in class org.unix4j.util.Assert
-
- assertArgGreaterThanOrEqualTo(String, int, int) - Static method in class org.unix4j.util.Assert
-
- assertArgLessThan(String, int, int) - Static method in class org.unix4j.util.Assert
-
- assertArgLessThanOrEqualTo(String, int, int) - Static method in class org.unix4j.util.Assert
-
- assertArgNotNull(String, Object) - Static method in class org.unix4j.util.Assert
-
- assertArgNotNull(String, Object...) - Static method in class org.unix4j.util.Assert
-
- assertArgTrue(String, boolean) - Static method in class org.unix4j.util.Assert
-
- assertNotNull(String, T) - Static method in class org.unix4j.util.Assert
-
Returns the given value if it is not null and throws an exception
otherwise.
- asSet() - Method in class org.unix4j.option.DefaultOptionSet
-
Returns the underlying backing
EnumSet.
- asSet() - Method in interface org.unix4j.option.OptionSet
-
Returns the active options in a
Set.
- CharacterConverters - Class in org.unix4j.convert
-
- CharacterConverters() - Constructor for class org.unix4j.convert.CharacterConverters
-
- charAt(int) - Method in class org.unix4j.line.SimpleLine
-
- charAt(int) - Method in class org.unix4j.line.SingleCharSequenceLine
-
- CHILDREN_WITHOUT_PREFIX - Static variable in class org.unix4j.util.RelativePathBase
-
Alternative settings to construct relative paths without prefixes for
children: "." represents the base directory, no prefix for child paths
and "../" for elements up to the common ancestor.
- clear() - Method in class org.unix4j.io.BufferedOutput
-
Clears all lines in this buffer.
- clone() - Method in class org.unix4j.option.DefaultOptionSet
-
- cloneDeep(T) - Static method in class org.unix4j.util.CloneUtil
-
Creates a deep clone of the specified value and returns it.
- cloneReflective(T) - Static method in class org.unix4j.util.CloneUtil
-
Clones the given value and returns the non-deep clone.
- CloneUtil - Class in org.unix4j.util
-
Utility class with static methods for cloning, for instance to deep-clone
nested lists, sets and maps.
- COLLATOR - Static variable in class org.unix4j.util.sort.LineComparator
-
Line comparator using case sensitive comparison based on the current
local's collation order.
- COLLATOR_IGNORE_CASE - Static variable in class org.unix4j.util.sort.LineComparator
-
Line comparator using case insensitive comparison based on the current
local's collation order.
- COLLATOR_IGNORE_CASE_AND_LEADING_BLANKS - Static variable in class org.unix4j.util.sort.LineComparator
-
Line comparator using case insensitive comparison based on the current
local's collation order, ignoring leading blanks (spaces and tabs) in the
content string of the line.
- COLLATOR_IGNORE_LEADING_BLANKS - Static variable in class org.unix4j.util.sort.LineComparator
-
Line comparator using case sensitive comparison based on the current
local's collation order, ignoring leading blanks (spaces and tabs) in the
content string of the line.
- COLLECTION_OR_ARRAY_TO_FILE_ARRAY - Static variable in class org.unix4j.convert.FileArrayConverters
-
- COLLECTION_OR_ARRAY_TO_FLAT_ARRAY - Static variable in class org.unix4j.convert.ArrayConverters
-
- COLLECTION_OR_ARRAY_TO_FLAT_FILE_ARRAY - Static variable in class org.unix4j.convert.FileArrayConverters
-
- COLLECTION_OR_ARRAY_TO_FLAT_LIST - Static variable in class org.unix4j.convert.ListConverters
-
- COLLECTION_OR_ARRAY_TO_FLAT_STRING_ARRAY - Static variable in class org.unix4j.convert.StringArrayConverters
-
- COLLECTION_OR_ARRAY_TO_STRING_ARRAY - Static variable in class org.unix4j.convert.StringArrayConverters
-
- COLLECTION_TO_ARRAY - Static variable in class org.unix4j.convert.ArrayConverters
-
- COLLECTION_TO_FILE_ARRAY - Static variable in class org.unix4j.convert.FileArrayConverters
-
- COLLECTION_TO_FLAT_LIST - Static variable in class org.unix4j.convert.ListConverters
-
- COLLECTION_TO_LIST - Static variable in class org.unix4j.convert.ListConverters
-
- COLLECTION_TO_STRING_ARRAY - Static variable in class org.unix4j.convert.StringArrayConverters
-
- COMMA_DELIMITED - Static variable in class org.unix4j.convert.StringArrayConverters
-
- Command<A extends Arguments<A>> - Interface in org.unix4j.command
-
A command is an executable unit defined by the command
name and the command line
arguments.
- CommandBuilder - Interface in org.unix4j.builder
-
A builder used to build a single command or a chain of joined commands.
- CommandInterface<R> - Interface in org.unix4j.command
-
A command interface defines the different ways a certain
Command can
be invoked (or instantiated).
- compare(T, T) - Method in class org.unix4j.util.sort.CompositeComparator
-
- compare(CharSequence, CharSequence) - Method in class org.unix4j.util.sort.DecimalNumberStringComparator
-
- compare(Line, Line) - Method in class org.unix4j.util.sort.LineComparator
-
- compare(T, T) - Method in class org.unix4j.util.sort.ReverseOrderComparator
-
- compare(CharSequence, CharSequence) - Method in class org.unix4j.util.sort.ScientificNumberStringComparator
-
- compare(String, String) - Method in class org.unix4j.util.sort.TrimBlanksStringComparator
-
- composite(File...) - Static method in class org.unix4j.io.FileInput
-
Creates and returns an input composed from the specified files
altogether.
- composite(List<File>) - Static method in class org.unix4j.io.FileInput
-
Creates and returns an input composed from the specified files
altogether.
- CompositeComparator<T> - Class in org.unix4j.util.sort
-
A comparator based on a list of underlying comparators used in the specified
order.
- CompositeComparator(Comparator<? super T>...) - Constructor for class org.unix4j.util.sort.CompositeComparator
-
Constructs a comparator based on the specified underlying comparators.
- CompositeComparator(Comparator<? super T>, Comparator<? super T>) - Constructor for class org.unix4j.util.sort.CompositeComparator
-
Constructs a comparator based on the specified underlying comparators.
- CompositeComparator(Comparator<? super T>, Comparator<? super T>, Comparator<? super T>) - Constructor for class org.unix4j.util.sort.CompositeComparator
-
Constructs a comparator based on the specified underlying comparators.
- CompositeComparator(List<Comparator<? super T>>) - Constructor for class org.unix4j.util.sort.CompositeComparator
-
Constructs a comparator based on the specified underlying comparators.
- CompositeInput - Class in org.unix4j.io
-
An input composed from multiple other inputs returning all lines of the first
input, then all lines of the of the second input etc.
- CompositeInput(Input...) - Constructor for class org.unix4j.io.CompositeInput
-
Constructor with inputs to combine.
- CompositeInput(List<? extends Input>) - Constructor for class org.unix4j.io.CompositeInput
-
Constructor with inputs to combine.
- CompositeRange - Class in org.unix4j.util
-
- CompositeRange() - Constructor for class org.unix4j.util.CompositeRange
-
- compositeRange - Variable in class org.unix4j.util.Range
-
- CompositeValueConverter<V> - Class in org.unix4j.convert
-
- CompositeValueConverter() - Constructor for class org.unix4j.convert.CompositeValueConverter
-
- CompositeValueConverter(Collection<? extends ValueConverter<? extends V>>) - Constructor for class org.unix4j.convert.CompositeValueConverter
-
- concat(ValueConverter<?>, ValueConverter<V>) - Static method in class org.unix4j.convert.ConcatenatedConverter
-
- concat(ValueConverter<N>) - Method in class org.unix4j.convert.ConcatenatedConverter
-
- ConcatenatedConverter<V> - Class in org.unix4j.convert
-
- ConcatenatedConverter(ValueConverter<?>, ValueConverter<V>) - Constructor for class org.unix4j.convert.ConcatenatedConverter
-
- containsIgnoreCase(String, String) - Static method in class org.unix4j.util.StringUtil
-
Returns true if and only if the string s contains the specified
target string performing case insensitive string comparison.
- convert(Object) - Method in class org.unix4j.convert.CompositeValueConverter
-
- convert(Object) - Method in class org.unix4j.convert.ConcatenatedConverter
-
- convert(Object) - Method in class org.unix4j.convert.DateConverters.StringToDateConverter
-
- convert(Object) - Method in class org.unix4j.convert.EnumConverters.StringToEnumConverter
-
- convert(Object) - Method in class org.unix4j.convert.OptionSetConverters.AcronymStringToOptionSetConverter
-
- convert(Object) - Method in class org.unix4j.convert.OptionSetConverters.IterableOfOptionNameOrAcronymToOptionSetConverter
-
- convert(Object) - Method in class org.unix4j.convert.OptionSetConverters.NameOrAcronymToOptionConverter
-
- convert(Object) - Method in class org.unix4j.convert.OptionSetConverters.OptionNameStringToSingletonSetConverter
-
- convert(Object) - Method in class org.unix4j.convert.OptionSetConverters.OptionToSingletonSetConverter
-
- convert(Object) - Method in interface org.unix4j.convert.ValueConverter
-
Converts the given value into the target type V if it is not null
and if such a conversion is supported by this converter.
- ConverterRegistry - Interface in org.unix4j.convert
-
A registry defines convertes for different data types.
- Counter - Class in org.unix4j.util
-
- Counter() - Constructor for class org.unix4j.util.Counter
-
- CR - Static variable in interface org.unix4j.line.Line
-
The carriage return (CR) character
'\r' used to encode line
endings in WINDOWS together with
Line.LF.
- createCommandBuilder(Class<B>, CommandInterface<? extends Command<?>>...) - Static method in class org.unix4j.builder.GenericCommandBuilder
-
Returns a new command builder implementing the specified
commandBuilderInterface.
- createCommandBuilder(Class<B>, DefaultCommandBuilder, CommandInterface<? extends Command<?>>...) - Static method in class org.unix4j.builder.GenericCommandBuilder
-
Returns a new command builder implementing the specified
commandBuilderInterface.
- createExecutionContext() - Method in interface org.unix4j.context.ExecutionContextFactory
-
Creates and returns a new execution context instance.
- current() - Static method in enum org.unix4j.util.OS
-
- FACTORY - Static variable in class org.unix4j.context.DefaultExecutionContext
-
- FILE - Static variable in class org.unix4j.convert.InputStreamConverters
-
- FILE - Static variable in class org.unix4j.convert.OutputStreamConverters
-
- FILE_ARRAY_TO_FILE_ARRAY - Static variable in class org.unix4j.convert.FileArrayConverters
-
- FILE_TO_STREAM - Static variable in class org.unix4j.convert.InputStreamConverters
-
- FILE_TO_STREAM - Static variable in class org.unix4j.convert.OutputStreamConverters
-
- FileArrayConverters - Class in org.unix4j.convert
-
- FileArrayConverters() - Constructor for class org.unix4j.convert.FileArrayConverters
-
- FileConverters - Class in org.unix4j.convert
-
- FileConverters() - Constructor for class org.unix4j.convert.FileConverters
-
- FileInput - Class in org.unix4j.io
-
Input device reading from a
File.
- FileInput(FileReader) - Constructor for class org.unix4j.io.FileInput
-
- FileInput(File, File) - Constructor for class org.unix4j.io.FileInput
-
- FileInput(File) - Constructor for class org.unix4j.io.FileInput
-
- FileInput(FileInputStream) - Constructor for class org.unix4j.io.FileInput
-
- FileInput(FileDescriptor) - Constructor for class org.unix4j.io.FileInput
-
- FileInput(String) - Constructor for class org.unix4j.io.FileInput
-
- FileInput(File, String) - Constructor for class org.unix4j.io.FileInput
-
- FileOutput - Class in org.unix4j.io
-
Output device writing to a
File.
- FileOutput(FileWriter) - Constructor for class org.unix4j.io.FileOutput
-
- FileOutput(File) - Constructor for class org.unix4j.io.FileOutput
-
- FileOutput(FileOutputStream) - Constructor for class org.unix4j.io.FileOutput
-
- FileOutput(FileDescriptor) - Constructor for class org.unix4j.io.FileOutput
-
- FileOutput(String) - Constructor for class org.unix4j.io.FileOutput
-
- FileTestUtils - Class in org.unix4j.util
-
- FileTestUtils() - Constructor for class org.unix4j.util.FileTestUtils
-
- FileUtil - Class in org.unix4j.util
-
Utility class with static methods involving files.
- findEndTrimBlanks(CharSequence) - Static method in class org.unix4j.util.sort.TrimBlanksStringComparator
-
Finds and returns the end of the given character sequence after trimming
spaces and tabs.
- findEndTrimNewlineChars(CharSequence) - Static method in class org.unix4j.util.StringUtil
-
Finds and returns the end of the given character sequence after trimming
new line characters from the right.
- findEndTrimWhitespace(CharSequence) - Static method in class org.unix4j.util.StringUtil
-
Finds and returns the end of the given character sequence after trimming
white space characters from the right.
- findStartTrimBlanks(CharSequence) - Static method in class org.unix4j.util.sort.TrimBlanksStringComparator
-
Finds and returns the start of the given character sequence after
trimming spaces and tabs.
- findStartTrimNewlineChars(CharSequence) - Static method in class org.unix4j.util.StringUtil
-
Finds and returns the start of the given sequence after trimming newline
characters from the left.
- findStartTrimNewlineChars(CharSequence, int) - Static method in class org.unix4j.util.StringUtil
-
Finds and returns the start of the given sequence after trimming newline
characters from the left, starting at the given start index.
- findStartTrimWhitespace(CharSequence) - Static method in class org.unix4j.util.StringUtil
-
Finds and returns the start of the given sequence after trimming
whitespace characters from the left.
- findStartTrimWhitespace(CharSequence, int) - Static method in class org.unix4j.util.StringUtil
-
Finds and returns the start of the given sequence after trimming
whitespace characters from the left, starting at the given start
index.
- findWhitespace(CharSequence) - Static method in class org.unix4j.util.StringUtil
-
Finds and returns the first whitespace character in the given sequence,
or the length of the string if no whitespace is found.
- findWhitespace(CharSequence, int) - Static method in class org.unix4j.util.StringUtil
-
Finds and returns the first whitespace character in the given sequence at
or after start.
- finish() - Method in class org.unix4j.io.BufferedOutput
-
- finish() - Method in class org.unix4j.io.NullOutput
-
- finish() - Method in interface org.unix4j.io.Output
-
Indicates that all output has been written.
- finish() - Method in class org.unix4j.io.WriterOutput
-
- finish(Input, LineProcessor) - Method in class org.unix4j.processor.DefaultInputProcessor
-
- finish() - Method in class org.unix4j.processor.InputLineProcessor
-
- finish(Input, LineProcessor) - Method in interface org.unix4j.processor.InputProcessor
-
Indicates that this line processing task is complete for the specified
input device and can finished.
- finish() - Method in interface org.unix4j.processor.LineProcessor
-
Indicates that this line processing task is complete and can finished.
- finish() - Method in class org.unix4j.processor.MultipleInputLineProcessor
-
- finishMultiple(List<? extends Input>, LineProcessor) - Method in class org.unix4j.processor.MultipleInputLineProcessor
-
Called once at the end after iterating over the
Input objects in
the given
inputs list.
- first() - Method in class org.unix4j.util.CompositeRange
-
- fixSizeString(int, boolean, char, long) - Static method in class org.unix4j.util.StringUtil
-
Returns the given value as a string of fixed length size
padding or truncating the value if necessary.
- fixSizeString(int, boolean, String) - Static method in class org.unix4j.util.StringUtil
-
Returns the given string s into a string of fixed length
size padding or truncating the string with spaces if necessary.
- fixSizeString(int, boolean, char, String) - Static method in class org.unix4j.util.StringUtil
-
Returns the given string s into a string of fixed length
size padding or truncating the string if necessary.
- FLATTEN - Static variable in class org.unix4j.convert.ArrayConverters
-
- FLATTEN - Static variable in class org.unix4j.convert.FileArrayConverters
-
- FLATTEN - Static variable in class org.unix4j.convert.ListConverters
-
- FLATTEN - Static variable in class org.unix4j.convert.StringArrayConverters
-
- fromStartTo(int) - Static method in class org.unix4j.util.Range
-
Creates a range element to include all indexes from 1 to (and inclusive of) the
given index.
- GenericCommandBuilder - Class in org.unix4j.builder
-
Generic builder dynamically creating an implementation of an interface
extending
CommandBuilder based on a series of command factories for
all the methods present in that interface.
- GenericCommandBuilder() - Constructor for class org.unix4j.builder.GenericCommandBuilder
-
- getArguments(ExecutionContext) - Method in class org.unix4j.command.AbstractCommand
-
- getArguments(ExecutionContext) - Method in interface org.unix4j.command.Command
-
Returns the implementation specific command arguments and options for the
given execution context.
- getArguments(ExecutionContext) - Method in class org.unix4j.command.JoinedCommand
-
- getArguments() - Method in class org.unix4j.processor.AbstractLineProcessor
-
Returns the command arguments for the current variable context.
- getBase() - Method in class org.unix4j.util.RelativePathBase
-
Returns the base directory for relative paths, the directory that was
passed to the constructor.
- getByVariableName(String) - Static method in enum org.unix4j.variable.ExecutionContextVariableResolver.Variable
-
- getCommand() - Method in class org.unix4j.processor.AbstractLineProcessor
-
Returns the command that was passed to the constructor of this line
processor, the command whose execute method usually returns this line
processor.
- getContent() - Method in interface org.unix4j.line.Line
-
Returns the contents making up this line, but without the line ending
characters.
- getContent() - Method in class org.unix4j.line.SimpleLine
-
- getContent() - Method in class org.unix4j.line.SingleCharSequenceLine
-
- getContentLength() - Method in interface org.unix4j.line.Line
-
Returns the length of the content string returned by
Line.getContent(), which is zero for a line without content and
positive otherwise.
- getContentLength() - Method in class org.unix4j.line.SimpleLine
-
- getContentLength() - Method in class org.unix4j.line.SingleCharSequenceLine
-
- getContext() - Method in class org.unix4j.processor.AbstractLineProcessor
-
Returns the execution context that was passed to the constructor
- getContextFactory() - Method in class org.unix4j.builder.DefaultCommandBuilder
-
Returns the context factory used to create contexts for command
execution.
- getConverterRegistry() - Method in class org.unix4j.context.DefaultExecutionContext
-
- getConverterRegistry() - Method in class org.unix4j.context.DerivedExecutionContext
-
- getConverterRegistry() - Method in interface org.unix4j.context.ExecutionContext
-
- getCount() - Method in class org.unix4j.util.Counter
-
- getCurrentDirectory() - Method in class org.unix4j.context.DefaultExecutionContext
-
- getCurrentDirectory() - Method in class org.unix4j.context.DerivedExecutionContext
-
- getCurrentDirectory() - Method in interface org.unix4j.context.ExecutionContext
-
Returns the current directory, never null.
- getCurrentMethodStackTraceElement() - Static method in class org.unix4j.util.StackTraceUtil
-
Returns the stack trace element corresponding to the direct caller
method, that is, the method which calls this method.
- getCurrentMethodStackTraceElement(int) - Static method in class org.unix4j.util.StackTraceUtil
-
Returns the stack trace element belonging to the
callerOffsetth caller of the calling method.
- getDirectoryOfClassFile(Class<?>) - Static method in class org.unix4j.util.FileUtil
-
This method returns the parent directory of a given class.
- getDirectoryOfClassFile(String) - Static method in class org.unix4j.util.FileUtil
-
This method returns the parent directory of a given class.
- getEnv() - Method in class org.unix4j.context.DefaultExecutionContext
-
- getEnv() - Method in class org.unix4j.context.DerivedExecutionContext
-
- getEnv() - Method in interface org.unix4j.context.ExecutionContext
-
- getEnv() - Static method in class org.unix4j.variable.MapVariableResolver
-
Returns a variable resolver for the ENV variables.
- getExitValue() - Method in exception org.unix4j.command.ExitValueException
-
Returns the exit value, an int value or error code different from zero
that was passed to the constructor of this exception.
- getFileInfo() - Method in class org.unix4j.io.FileInput
-
Returns the file info string, for instance a file path or file name.
- getFileInfo(File) - Method in class org.unix4j.io.FileInput
-
Returns the file info string relative to the given root directory.
- getFileNameFilter(String) - Static method in class org.unix4j.util.FileUtil
-
Returns a file name filter for the specified name.
- getFirst() - Method in class org.unix4j.command.JoinedCommand
-
Returns the first command of this joined command
- getForContext(ExecutionContext) - Method in interface org.unix4j.command.Arguments
-
Returns an arguments object for the given execution context with resolved
variables if necessary and possible.
- getForContext(ExecutionContext) - Method in class org.unix4j.command.NoOp.Args
-
- getForContext(ExecutionContext) - Method in class org.unix4j.operation.AdHocCommand.Args
-
- getInput() - Method in exception org.unix4j.command.ExitValueException
-
Returns the input source that was causing this exception, for instance an
input file that was passed to a command.
- getInstance() - Static method in class org.unix4j.util.sort.DecimalNumberStringComparator
-
Returns the instance for the default locale.
- getInstance(Locale) - Static method in class org.unix4j.util.sort.DecimalNumberStringComparator
-
Returns an instance for the specified locale.
- getLineEnding() - Method in interface org.unix4j.line.Line
-
Returns the line ending characters, usually one or two characters such as
"\n" or "\r\n".
- getLineEnding() - Method in class org.unix4j.line.SimpleLine
-
- getLineEnding() - Method in class org.unix4j.line.SingleCharSequenceLine
-
- getLineEndingLength() - Method in interface org.unix4j.line.Line
-
Returns the length of the line ending string returned by
Line.getLineEnding(), which is usually one or two and sometimes zero
the last line in a file is not terminated with a new line character.
- getLineEndingLength() - Method in class org.unix4j.line.SimpleLine
-
- getLineEndingLength() - Method in class org.unix4j.line.SingleCharSequenceLine
-
- getLocale() - Method in class org.unix4j.context.DefaultExecutionContext
-
- getLocale() - Method in class org.unix4j.context.DerivedExecutionContext
-
- getLocale() - Method in interface org.unix4j.context.ExecutionContext
-
- getMapKeyForVariableName(String) - Method in class org.unix4j.variable.MapVariableResolver
-
Returns the map key for a given variable name.
- getMessage() - Method in exception org.unix4j.command.ExitValueException
-
- getName() - Method in class org.unix4j.command.AbstractCommand
-
- getName() - Method in interface org.unix4j.command.Command
-
Returns the name of this command, usually a lower-case string such as
"grep" or "ls".
- getName() - Method in class org.unix4j.command.JoinedCommand
-
Returns the joined command names, a string like "echo | grep"
- getOperation() - Method in class org.unix4j.operation.AdHocCommand.Args
-
- getOutput() - Method in class org.unix4j.processor.AbstractLineProcessor
-
Returns the output that was passed to the constructor of this line
processor, the object to write to when executing the command through the
this processor
- getOutputDirectoryGivenClass(Class<?>) - Static method in class org.unix4j.util.FileUtil
-
This method returns the output directory of a given class.
- getPathElements(File) - Static method in class org.unix4j.util.FileUtil
-
Returns all path elements of the given file.
- getProperties(String) - Static method in class org.unix4j.util.PropertyUtil
-
- getProperty(String, String, String) - Static method in class org.unix4j.util.PropertyUtil
-
Returns the specified property given the propertyName either from
the current user's properties file if it exists or from the given
defaultPropertiesFile.
- getRelativePath(File, File) - Static method in class org.unix4j.util.FileUtil
-
Returns the path of the given file relative to the given
root.
- getRelativePathFor(File) - Method in class org.unix4j.util.RelativePathBase
-
Returns the path of the given
file relative to the
base directory.
- getRelativePathFor(String) - Method in class org.unix4j.util.RelativePathBase
-
Returns the path of the given
file relative to the
base directory.
- getRelativeToCurrentDirectory(File) - Method in class org.unix4j.context.DefaultExecutionContext
-
- getRelativeToCurrentDirectory(File) - Method in class org.unix4j.context.DerivedExecutionContext
-
- getRelativeToCurrentDirectory(File) - Method in interface org.unix4j.context.ExecutionContext
-
Returns the given file but relative to the
current directory if the given file path is not absolute.
- getResource(Class<?>, String) - Static method in class org.unix4j.util.ResourceUtil
-
Returns the specified resource as input stream.
- getSecond() - Method in class org.unix4j.command.JoinedCommand
-
Returns the second command of this joined command
- getSettings() - Method in class org.unix4j.util.RelativePathBase
-
Returns the settings used to construct relative paths.
- getSys() - Method in class org.unix4j.context.DefaultExecutionContext
-
- getSys() - Method in class org.unix4j.context.DerivedExecutionContext
-
- getSys() - Method in interface org.unix4j.context.ExecutionContext
-
- getSystemProperties() - Static method in class org.unix4j.variable.MapVariableResolver
-
Returns a variable resolver for the system properties.
- getTempDirectory() - Method in class org.unix4j.context.DefaultExecutionContext
-
- getTempDirectory() - Method in class org.unix4j.context.DerivedExecutionContext
-
- getTempDirectory() - Method in interface org.unix4j.context.ExecutionContext
-
- getTestDir(Class<?>) - Static method in class org.unix4j.util.FileTestUtils
-
- getTestFile(Class<?>, String) - Static method in class org.unix4j.util.FileTestUtils
-
- getTestFile(Class<?>, String, String) - Static method in class org.unix4j.util.FileTestUtils
-
- getTestFile(Class<?>, String, String, String) - Static method in class org.unix4j.util.FileTestUtils
-
- getTestFile(File, String, String, String) - Static method in class org.unix4j.util.FileTestUtils
-
- getUnixName() - Method in enum org.unix4j.variable.ExecutionContextVariableResolver.Variable
-
- getUser() - Method in class org.unix4j.context.DefaultExecutionContext
-
- getUser() - Method in class org.unix4j.context.DerivedExecutionContext
-
- getUser() - Method in interface org.unix4j.context.ExecutionContext
-
Returns the user name, usually defined by the "user.name" system
property.
- getUserDir() - Static method in class org.unix4j.util.FileUtil
-
Returns the user's current working directory taken from the system
property "user.dir".
- getUserHome() - Method in class org.unix4j.context.DefaultExecutionContext
-
- getUserHome() - Method in class org.unix4j.context.DerivedExecutionContext
-
- getUserHome() - Method in interface org.unix4j.context.ExecutionContext
-
Returns the user home directory, usually defined by the
"user.home" system property.
- getValue(String) - Method in class org.unix4j.variable.DefaultVariableContext
-
- getValue(String, ValueConverter<V>) - Method in class org.unix4j.variable.DefaultVariableContext
-
- getValue(String) - Method in class org.unix4j.variable.ExecutionContextVariableResolver
-
- getValue(ExecutionContext) - Method in enum org.unix4j.variable.ExecutionContextVariableResolver.Variable
-
- getValue(String) - Method in class org.unix4j.variable.MapVariableResolver
-
- getValue(String) - Method in class org.unix4j.variable.SimpleVariableResolver
-
- getValue(String, ValueConverter<V>) - Method in interface org.unix4j.variable.VariableContext
-
Returns the value of the variable given by name and converts it into the
target type <V> using the given converter.
- getValue(String) - Method in interface org.unix4j.variable.VariableResolver
-
Returns the value currently set for the variable given by its name, or
null if no such variable exists.
- getValueConverterFor(Class<V>) - Method in class org.unix4j.context.DefaultExecutionContext
-
- getValueConverterFor(Class<V>) - Method in class org.unix4j.context.DerivedExecutionContext
-
- getValueConverterFor(Class<V>) - Method in interface org.unix4j.context.ExecutionContext
-
- getValueConverterFor(Class<V>) - Method in interface org.unix4j.convert.ConverterRegistry
-
- getValueConverterFor(Class<V>) - Method in class org.unix4j.convert.DefaultConverterRegistry
-
- getVariableContext() - Method in class org.unix4j.context.DefaultExecutionContext
-
- getVariableContext() - Method in class org.unix4j.context.DerivedExecutionContext
-
- getVariableContext() - Method in interface org.unix4j.context.ExecutionContext
-
- getWidth() - Method in class org.unix4j.util.Counter
-
- getWriter() - Method in class org.unix4j.io.StringOutput
-
- getWriter() - Method in class org.unix4j.io.WriterOutput
-
Returns the underlying writer that was passed to the constructor.
- ScientificNumberStringComparator - Class in org.unix4j.util.sort
-
Comparison based on
Double floating point numbers.
- set(E) - Method in class org.unix4j.option.DefaultOptionSet
-
Sets the specified option.
- setAll(E...) - Method in class org.unix4j.option.DefaultOptionSet
-
Sets all specified options.
- setAll(Collection<? extends E>) - Method in class org.unix4j.option.DefaultOptionSet
-
Sets all specified options.
- setAll(OptionSet<E>) - Method in class org.unix4j.option.DefaultOptionSet
-
Sets all the options contained in the specified optionSet.
- setConverterRegistry(ConverterRegistry) - Method in class org.unix4j.context.DerivedExecutionContext
-
- setCurrentDirectory(File) - Method in class org.unix4j.context.DefaultExecutionContext
-
- setCurrentDirectory(String) - Method in class org.unix4j.context.DefaultExecutionContext
-
- setCurrentDirectory(File) - Method in class org.unix4j.context.DerivedExecutionContext
-
- setCurrentDirectory(String) - Method in class org.unix4j.context.DerivedExecutionContext
-
- setEnv(Map<String, String>) - Method in class org.unix4j.context.DerivedExecutionContext
-
- setInput(Input) - Method in exception org.unix4j.command.ExitValueException
-
Sets the input source that was causing this exception, for instance an
input file that was passed to a command.
- setLocale(Locale) - Method in class org.unix4j.context.DefaultExecutionContext
-
- setLocale(Locale) - Method in class org.unix4j.context.DerivedExecutionContext
-
- setSys(Properties) - Method in class org.unix4j.context.DerivedExecutionContext
-
- setTempDirectory(File) - Method in class org.unix4j.context.DerivedExecutionContext
-
- setTempDirectory(String) - Method in class org.unix4j.context.DerivedExecutionContext
-
- setUseAcronymFor(E, boolean) - Method in class org.unix4j.option.DefaultOptionSet
-
Sets the flag indicating whether string representations should use the
acronym instead of the long option
name for the specified
option.
- setUseAcronymForAll(boolean) - Method in class org.unix4j.option.DefaultOptionSet
-
Sets the flag indicating whether string representations should use the
acronym instead of the long option
name for all options.
- setUser(String) - Method in class org.unix4j.context.DerivedExecutionContext
-
- setUserHome(File) - Method in class org.unix4j.context.DerivedExecutionContext
-
- setUserHome(String) - Method in class org.unix4j.context.DerivedExecutionContext
-
- setValue(String, Object) - Method in class org.unix4j.variable.SimpleVariableResolver
-
Sets the specified value for the variable with the given name.
- setVariableContext(VariableContext) - Method in class org.unix4j.context.DerivedExecutionContext
-
- SimpleLine - Class in org.unix4j.line
-
A
Line implementation based on two
CharSequence's, usually
two strings one for the contents and one for the line ending characters.
- SimpleLine(CharSequence) - Constructor for class org.unix4j.line.SimpleLine
-
Constructor with contents and default operating system dependent line
ending as defined by
Line.LINE_ENDING.
- SimpleLine(CharSequence, char) - Constructor for class org.unix4j.line.SimpleLine
-
Constructor with contents and lineEnding character sequences.
- SimpleLine(CharSequence, CharSequence) - Constructor for class org.unix4j.line.SimpleLine
-
Constructor with contents and lineEnding character sequences.
- SimpleVariableResolver - Class in org.unix4j.variable
-
Simple variable resolver implementation backed by a map of variable names to
values.
- SimpleVariableResolver() - Constructor for class org.unix4j.variable.SimpleVariableResolver
-
- SingleCharSequenceLine - Class in org.unix4j.line
-
- SingleCharSequenceLine(CharSequence, int) - Constructor for class org.unix4j.line.SingleCharSequenceLine
-
Constructor with character sequence with the data and the
lineEndingLength indicating whether there is one or two
characters for the line ending.
- SingleCharSequenceLine(CharSequence, int, int, int) - Constructor for class org.unix4j.line.SingleCharSequenceLine
-
Constructor with character sequence with the data and offset
pointing to the first content character of the line.
- size() - Method in class org.unix4j.io.BufferedOutput
-
Returns the number of lines currently stored by this
BufferedOutput object.
- size() - Method in class org.unix4j.option.DefaultOptionSet
-
Returns the number of set options in this OptionSet
- size() - Method in interface org.unix4j.option.OptionSet
-
Returns the number of active options in this option set.
- SPACE_DELIMITED - Static variable in class org.unix4j.convert.StringArrayConverters
-
- splitLines(String) - Static method in class org.unix4j.util.StringUtil
-
Splits the given string into lines and returns each line as a separate
string in the result list.
- StackTraceUtil - Class in org.unix4j.util
-
Utility class to evaluate the
StackTraceElement corresponding to a
calling method in the caller stack.
- startsWithIgnoreCase(String, String) - Static method in class org.unix4j.util.StringUtil
-
Tests if this string s starts with the specified prefix
performing case insensitive string comparison.
- StdInput - Class in org.unix4j.io
-
- StdInput() - Constructor for class org.unix4j.io.StdInput
-
- StdOutput - Class in org.unix4j.io
-
- StdOutput() - Constructor for class org.unix4j.io.StdOutput
-
- StreamInput - Class in org.unix4j.io
-
- StreamInput(InputStream) - Constructor for class org.unix4j.io.StreamInput
-
Constructor with stream forming the basis of this input device.
- StreamOutput - Class in org.unix4j.io
-
- StreamOutput(OutputStream) - Constructor for class org.unix4j.io.StreamOutput
-
Constructor with stream to be written to.
- STRING - Static variable in class org.unix4j.convert.FileConverters
-
- STRING - Static variable in class org.unix4j.convert.PatternConverters
-
- STRING - Static variable in class org.unix4j.convert.RangeConverters
-
- STRING - Static variable in class org.unix4j.convert.URLConverters
-
- STRING_ARRAY_TO_STRING_ARRAY - Static variable in class org.unix4j.convert.StringArrayConverters
-
- STRING_TO_CHARACTER - Static variable in class org.unix4j.convert.CharacterConverters
-
- STRING_TO_DATE - Static variable in class org.unix4j.convert.DateConverters
-
- STRING_TO_INTEGER - Static variable in class org.unix4j.convert.IntegerConverters
-
- STRING_TO_LONG - Static variable in class org.unix4j.convert.LongConverters
-
- StringArrayConverters - Class in org.unix4j.convert
-
- StringArrayConverters() - Constructor for class org.unix4j.convert.StringArrayConverters
-
- StringConverters - Class in org.unix4j.convert
-
- StringConverters() - Constructor for class org.unix4j.convert.StringConverters
-
- StringInput - Class in org.unix4j.io
-
Input device reading the input from a string.
- StringInput(String...) - Constructor for class org.unix4j.io.StringInput
-
Constructor with lines.
- StringInput(Iterable<? extends String>) - Constructor for class org.unix4j.io.StringInput
-
Constructor with lines.
- StringOutput - Class in org.unix4j.io
-
Output device writing the output lines to a string.
- StringOutput() - Constructor for class org.unix4j.io.StringOutput
-
Constructor for StringOutput that does NOT terminated the last
line with a line ending no matter whether the last input line has an
empty line ending or not.
- StringOutput(boolean) - Constructor for class org.unix4j.io.StringOutput
-
Constructor with flag indicating whether the last line ending should be
written or not when
WriterOutput.finish() is called.
- StringUtil - Class in org.unix4j.util
-
Utility class with static methods for strings.
- subLine(Line, int, int, boolean) - Static method in class org.unix4j.line.SimpleLine
-
- subSequence(int, int) - Method in class org.unix4j.line.SimpleLine
-
- subSequence(int, int) - Method in class org.unix4j.line.SingleCharSequenceLine
-
- TAB_DELIMITED - Static variable in class org.unix4j.convert.StringArrayConverters
-
- To - Interface in org.unix4j.builder
-
Interface defining command execution and output redirection methods.
- toAbsoluteFile(File, File) - Static method in class org.unix4j.util.FileUtil
-
Returns an absolute file for the given input file, resolving relative
paths on the basis of the given currentDirectory.
- toDevNull() - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- toDevNull() - Method in interface org.unix4j.builder.To
-
Executes the composite command and does not write the result anywhere.
- toEndFrom(int) - Static method in class org.unix4j.util.Range
-
Creates a range element to include all elements from (and including) the given
index to any greater index.
- toExitValue() - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- toExitValue() - Method in interface org.unix4j.builder.To
-
Executes the composite command returns its exit value, 0 if the command
completes successfully and another command specific error value different
from zero if the command throws an
ExitValueException.
- toFile(String) - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- toFile(File) - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- toFile(String) - Method in interface org.unix4j.builder.To
-
Executes the composite command and writes the result to the given file.
- toFile(File) - Method in interface org.unix4j.builder.To
-
Executes the composite command and writes the result to the given file.
- toLineList() - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- toLineList() - Method in interface org.unix4j.builder.To
-
Executes the composite command and returns the result as a list
containing the output lines.
- toList(File...) - Static method in class org.unix4j.util.FileUtil
-
Returns the specified files in a new mutable array list.
- toMultiLineString() - Method in class org.unix4j.io.BufferedInput
-
Returns a multi-line representation of the lines in this buffer.
- toMultiLineString() - Method in class org.unix4j.io.BufferedOutput
-
Returns a multi-line representation of the lines in this buffer.
- toMultiLineString(List<? extends Line>) - Static method in class org.unix4j.util.LineUtil
-
Returns a multi-line representation of the provided lines.
- toOutput(Output) - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- toOutput(Output) - Method in interface org.unix4j.builder.To
-
Executes the composite command and writes the result to the given output.
- toOutputStream(OutputStream) - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- toOutputStream(OutputStream) - Method in interface org.unix4j.builder.To
-
Executes the composite command and writes the result to the given stream.
- toStdOut() - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- toStdOut() - Method in interface org.unix4j.builder.To
-
Executes the composite command and writes the result to the standard
output.
- toString() - Method in interface org.unix4j.builder.CommandBuilder
-
- toString() - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- toString() - Method in class org.unix4j.command.AbstractCommand
-
- toString() - Method in interface org.unix4j.command.Arguments
-
Returns a string representation of the command arguments and options.
- toString() - Method in interface org.unix4j.command.Command
-
Returns a string representation of the command instance including the
argument and option values defined for the command.
- toString() - Method in class org.unix4j.command.JoinedCommand
-
Returns the string representation of this joined command, consisting of
first and second command including arguments and options.
- toString() - Method in class org.unix4j.io.BufferedInput
-
Returns a list-like representation of the lines contained in this buffer.
- toString() - Method in class org.unix4j.io.BufferedOutput
-
Returns a list-like representation of the lines contained in this buffer.
- toString() - Method in class org.unix4j.io.CompositeInput
-
- toString() - Method in class org.unix4j.io.FileInput
-
- toString() - Method in class org.unix4j.io.FileOutput
-
- toString() - Method in class org.unix4j.io.NullInput
-
- toString() - Method in class org.unix4j.io.NullOutput
-
- toString() - Method in class org.unix4j.io.StringOutput
-
Return the buffer's current value as a string.
- toString() - Method in interface org.unix4j.line.Line
-
Returns this line including the line ending characters as a string.
- toString() - Method in class org.unix4j.line.SimpleLine
-
- toString() - Method in class org.unix4j.line.SingleCharSequenceLine
-
- toString() - Method in class org.unix4j.operation.AdHocCommand.Args
-
- toString() - Method in class org.unix4j.option.DefaultOptionSet
-
- toString(OptionSet<O>) - Static method in class org.unix4j.option.DefaultOptionSet
-
- toString(Object) - Static method in class org.unix4j.util.ArrayUtil
-
Returns a (deep) string representation for the given array or throws an
exception if array is not an array or null.
- toString() - Method in class org.unix4j.util.CompositeRange
-
- toString() - Method in class org.unix4j.util.Counter
-
- toString() - Method in class org.unix4j.util.Range
-
- toString() - Method in class org.unix4j.variable.DefaultVariableContext
-
- toString() - Method in class org.unix4j.variable.ExecutionContextVariableResolver
-
- toString() - Method in class org.unix4j.variable.MapVariableResolver
-
- toString() - Method in class org.unix4j.variable.SimpleVariableResolver
-
- toStringList() - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- toStringList() - Method in interface org.unix4j.builder.To
-
Executes the composite command and returns the result as a list
containing the output lines without line ending.
- toStringResult() - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- toStringResult() - Method in interface org.unix4j.builder.To
-
Executes the composite command and returns the result as string.
- toWriter(Writer) - Method in class org.unix4j.builder.DefaultCommandBuilder
-
- toWriter(Writer) - Method in interface org.unix4j.builder.To
-
Executes the composite command and writes the result using the given
writer.
- TrimBlanksStringComparator - Class in org.unix4j.util.sort
-
Comparator for strings or character sequences trimming leading or trailing
blanks or both before forwarding the actual comparison to a delegate
comparator.
- TrimBlanksStringComparator(TrimBlanksStringComparator.Mode, Comparator<? super CharSequence>) - Constructor for class org.unix4j.util.sort.TrimBlanksStringComparator
-
Constructor with mode and delegate comparator performing the actual
string comparison on the trimmed strings or character sequences.
- TrimBlanksStringComparator.Mode - Enum in org.unix4j.util.sort
-
Mode defining which end of the strings should be trimmed for blanks.