The class StandardCharsets was added in Java 7, and is not included in Java 6