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(String expand)
Converts a string representation of a collection of
Expansions into an Expansions instance. |
static Expansions |
parseExperimental(String... individualExpansions) |
static Expansion[] |
parseExperimental(String expand)
Converts a string representation of a collection of Expansions back into an
Expansion array. |
static Expansions |
parseExperimentalAsExpansions(String expand)
Same as calling
parseAsExpansions(java.lang.String) , but allows for experimental expansions. |
static Expansion |
parseExperimentalSingle(String expand)
Same as calling
parseSingle(java.lang.String) , but allows for experimental expansions. |
static Expansions |
parseExperimentalWithPrefix(String prefix,
String expansions) |
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. If
a property matches something in ExpansionsParserImpl#EXPERIMENTAL_EXPANSIONS
, it will be ignored. Use parseExperimental(String...)
to allow experimental properties to be expanded.public static Expansion[] parseExperimental(String expand)
Expansion
array.
Same as calling parse(String)
, but allows for experimental expansions. These experimental expansions will only be matched if
the expand string given is in ExpansionsParserImpl#EXPERIMENTAL_EXPANSIONS
.
expand
- the expansion strings, separated by commaspublic static Expansions parseAsExpansions(String expand)
Expansions
into an Expansions instance.public static Expansions parseExperimentalAsExpansions(String expand)
parseAsExpansions(java.lang.String)
, but allows for experimental expansions.
These experimental expansions will only be matched if the expand string given is in ExpansionsParserImpl#EXPERIMENTAL_EXPANSIONS
.public static Expansion parseSingle(String expand)
public static Expansion parseExperimentalSingle(String expand)
parseSingle(java.lang.String)
, but allows for experimental expansions.
These experimental expansions will only be matched if the expand string given is in ExpansionsParserImpl#EXPERIMENTAL_EXPANSIONS
.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 parseExperimental(String... individualExpansions)
public static Expansions parseWithPrefix(String prefix, String expansions)
public static Expansions parseExperimentalWithPrefix(String prefix, String expansions)
Copyright © 2003–2021 Atlassian. All rights reserved.