Java enums from a given string

Posted by Jens J├Ąger on January 29, 2010

To generate a instance of a enum class by a given string you can use the valueOf() method.

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

Comments

Information about Data protection