Constructor and Description |
---|
ExpansionsParser() |
Modifier and Type | Method and Description |
---|---|
static String |
asString(Expansion[] expansionsArr)
Converts a collection of
Expansion s into a single string. |
static String |
asString(Expansions expansions)
Converts a
Expansions collection into a single string. |
static Expansions |
parse(String... individualExpansions) |
static Expansion[] |
parse(String expand)
Converts a string representation of a collection of Expansions back into an
Expansion array. |
static Expansions |
parseAsExpansions(List<String> expands)
Converts list of string representations of
Expansion s into an Expansions instance. |
static Expansions |
parseAsExpansions(String expand)
Converts a string representation of a collection of
Expansions into an Expansions instance. |
static Expansion |
parseSingle(String expand)
Converts a string representation of a single Expansion back into an Expansion.
|
static Expansions |
parseWithPrefix(String prefix,
String expansions) |
public static Expansion[] parse(String expand)
Expansion
array.public static Expansions parseAsExpansions(List<String> expands)
Expansion
s into an Expansions instance.
If the given list contains a single element, attempts to parse it as a collection of expansions (i.e comma-separated)public static Expansions parseAsExpansions(String expand)
Expansions
into an Expansions instance.public static Expansion parseSingle(String expand)
public static String asString(Expansions expansions)
Expansions
collection into a single string.public static String asString(Expansion[] expansionsArr)
Expansion
s into a single string.public static Expansions parse(String... individualExpansions)
public static Expansions parseWithPrefix(String prefix, String expansions)
Copyright © 2021 Atlassian. All rights reserved.