application.properties
accesskey=hoge
Sample.java
final String RESOURCE_NAME = "application";
ResourceBundle rb = ResourceBundle.getBundle(RESOURCE_NAME);
//ここで値がhogeになる
final String accessKey = rb.getString("accesskey");
Go to list of users who liked
More than 3 years have passed since last update.
accesskey=hoge
final String RESOURCE_NAME = "application";
ResourceBundle rb = ResourceBundle.getBundle(RESOURCE_NAME);
//ここで値がhogeになる
final String accessKey = rb.getString("accesskey");
Register as a new user and use Qiita more conveniently
Go to list of users who liked