|
static final BCryptPasswordEncoder | encoder = new BCryptPasswordEncoder(11) |
|
The Class StringUtil.
Definition at line 10 of file StringUtil.java.
◆ encodeString()
static String org.openkilda.utility.StringUtil.encodeString |
( |
String |
data | ) |
|
|
static |
Encode string.
- Parameters
-
- Returns
- the string
Definition at line 44 of file StringUtil.java.
◆ getEncoder()
static BCryptPasswordEncoder org.openkilda.utility.StringUtil.getEncoder |
( |
| ) |
|
|
static |
◆ getUUID()
static String org.openkilda.utility.StringUtil.getUUID |
( |
| ) |
|
|
static |
Generates random UUIDs.
- Returns
- the uuid
Definition at line 24 of file StringUtil.java.
◆ isNullOrEmpty()
static boolean org.openkilda.utility.StringUtil.isNullOrEmpty |
( |
final String |
data | ) |
|
|
static |
Checks if is null or empty.
- Parameters
-
- Returns
- true, if is null or empty
Definition at line 34 of file StringUtil.java.
◆ matches()
static boolean org.openkilda.utility.StringUtil.matches |
( |
String |
rawPassword, |
|
|
String |
encodedPassword |
|
) |
| |
|
static |
Matches.
- Parameters
-
rawPassword | the raw password |
encodedPassword | the encoded password |
- Returns
- true, if successful
Definition at line 55 of file StringUtil.java.
◆ encoder
final BCryptPasswordEncoder org.openkilda.utility.StringUtil.encoder = new BCryptPasswordEncoder(11) |
|
static |
The documentation for this class was generated from the following file:
- /Users/kevin/Desktop/Kilda/open-kilda-develop/services/src/openkilda-gui/src/main/java/org/openkilda/utility/StringUtil.java