public class ArgCombiner
extends java.lang.Object
Constructor | Description |
---|---|
ArgCombiner() |
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String |
combineArgs(java.lang.String[] args) |
Combines all entries in an array of Strings into one String with a space between each entry.
|
static java.lang.String |
combineArgs(java.lang.String[] args,
int startIndex) |
Combines the entries in an array of Strings into one String with a space between each entry beginning at
the specified index.
|
public static java.lang.String combineArgs(java.lang.String[] args, int startIndex)
args
- the args to combinestartIndex
- the index to start combination atpublic static java.lang.String combineArgs(java.lang.String[] args)
args
- the args to combine