The idea of making a utility class is that we would have all constants in a single location for easy modification. They would be declared as static final constants, so publicity is not an issue. But you bring  up a good point about encapsulation. How about just change them to static final constants in this file?