public class CharacterTools
extends java.lang.Object
Constructor and Description |
---|
CharacterTools() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isVowel(char c)
true if c is a vowel. |
static byte[] |
toByteArray(char[] value)
Create a byte array from the char array ignoring any encoding.
|
static char[] |
toCharArray(byte[] value)
Create a char array from the byte array ignoring any encoding.
|
public static boolean isVowel(char c)
true
if c
is a vowel.c
- The character to check.true
if c
is a vowel.public static byte[] toByteArray(char[] value)
value
- public static char[] toCharArray(byte[] value)
value
-