Added cyan method.

This commit is contained in:
Erik C. Thauvin 2019-04-09 02:22:09 -07:00
parent 614e45ab63
commit 34028479e8

View file

@ -152,6 +152,16 @@ public final class Utils {
return s.substring(0, 1).toUpperCase() + s.substring(1);
}
/**
* Meks the given string cyan
*
* @param s The string.
* @return The cyan string.
*/
public static String cyan(final String s) {
return Colors.CYAN + s + Colors.NORMAL;
}
/**
* Ensures that the given location (File/URL) has a trailing slash (<code>/</code>) to indicate a directory.
*
@ -198,7 +208,7 @@ public final class Utils {
* Makes the given string green.
*
* @param s The string.
* @return The bold string.
* @return The green string.
*/
public static String green(final String s) {
return Colors.DARK_GREEN + s + Colors.NORMAL;