Class ArgumentListBuilder
java.lang.Object
org.aksw.shellgebra.shim.core.ArgumentListBuilder
Fluent-style builder to build a plain list of strings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()fileOrLiteral(String filename, String fallbackLiteral) Note: '-' becomes a literal instead of a path!static ArgumentListBuilderAdd name and value iff value is non null.
-
Constructor Details
-
ArgumentListBuilder
public ArgumentListBuilder()
-
-
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
-