public class TokenName extends Object
Modifier and Type | Method and Description |
---|---|
static String |
canonicalize(String name)
Generate the name of a parameter token from the given string, with no
added prefix, such that the token name will simply be the transformed
version of the string.
|
static String |
canonicalize(String name,
String prefix)
Generates the name of the parameter token that should be populated with
the given string.
|
public static String canonicalize(String name, String prefix)
name
- The string to be used to generate the token name.prefix
- The prefix to prepend to the generated token name.public static String canonicalize(String name)
canonicalize(java.lang.String, java.lang.String)
name
- The string to use to generate the token name.Copyright © 2020. All rights reserved.