Somebody knows how can I convert an Enum variable to an String variable?
Thanks in advance!
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html says you can use name() or toString()
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.