Package org.wildfly.plugin.tools.util
Class Utils
- java.lang.Object
-
- org.wildfly.plugin.tools.util.Utils
-
public class Utils extends Object
- Author:
- jdenise@redhat.com, James R. Perkins
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>
splitArguments(CharSequence arguments)
Splits the arguments into a list.
-
-
-
Method Detail
-
splitArguments
public static List<String> splitArguments(CharSequence arguments)
Splits the arguments into a list. The arguments are split based on whitespace while ignoring whitespace that is within quotes.- Parameters:
arguments
- the arguments to split- Returns:
- the list of the arguments
-
-