public class CommandLineBuilder extends Object
Constructor and Description |
---|
CommandLineBuilder()
Creates a new command line builder.
|
Modifier and Type | Method and Description |
---|---|
CommandLineBuilder |
append(String segment)
Appends a string to command line.
|
CommandLineBuilder |
append(String[] segments)
Appends an array of strings to command line.
|
String[] |
toArray()
Returns the command line.
|
public CommandLineBuilder()
public CommandLineBuilder append(String[] segments)
segments
- array to appendpublic CommandLineBuilder append(String segment)
segment
- string to appendpublic String[] toArray()
Copyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.