Added cyan method.
This commit is contained in:
parent
614e45ab63
commit
34028479e8
1 changed files with 11 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue