public class FlatsyUtil extends Object
| Constructor and Description |
|---|
FlatsyUtil() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
commandArguments(String command)
Split a command line into arguments
|
static String |
stringExpression(String expression,
FlatsyObject object)
Build a string using a primitive string builder
Syntax
plaintext + \"plain text\" + ~.uri + $.jsonpath
++ = single space
|
public static List<String> commandArguments(String command)
command - a space separated string where substrings with spaces are contained in " quotespublic static String stringExpression(String expression, FlatsyObject object) throws IOException
expression - an expressionobject - a flatsy object to use for dynamic sectionsIOException - if flatsy objects cannot be accessedCopyright © 2015. All rights reserved.