Class ArgsBuilder
java.lang.Object
org.aksw.shellgebra.shim.core.ArgsBuilder
Fluent-style builder to build a plain list of strings.
See
ArgumentListBuilder for a shell-level argument builder.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()fileOrLiteral(String filename, String fallbackLiteral) Note: '-' becomes a literal instead of a path!static ArgsBuilderAdd name and value iff value is non null.
-
Constructor Details
-
ArgsBuilder
public ArgsBuilder()
-
-
Method Details
-
opt
Add name and value iff value is non null. Does nothing if value is null. -
ifTrue
-
arg
-
fileOrLiteral
-
arg
-
args
-
files
Note: '-' becomes a literal instead of a path! -
build
-
newBuilder
-