SyntaxFix
Write A Post
Hire A Developer
Questions
Here is an example of how you can do it in Spring 4.0+
application.properties
some.key=yes,no,cancel
@Autowire private Environment env; ... String[] springRocks = env.getProperty("some.key", String[].class);