Try Java 7 support of strings in Switch statement