일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- JSP
- Cookie
- jQuery
- 비트코인
- EC2
- node.js
- RDS
- PL/SQL
- 암호화
- JavaScript
- CSS
- 웹게임
- phaser
- HTML
- model1
- AWS
- autowired
- 블록체인
- Ajax
- websocket
- docker
- 웹소켓
- Servlet
- SQL
- express
- tiles.xml
- 알고리즘
- 배포
- 도커
- Spring
- Today
- Total
記錄
Spring) Properties Class의 활용 본문
java.util
Class Properties
public class Properties
extends Hashtable<Object,Object>
The Properties class represents a persistent set of properties. The Properties can be saved to a stream or loaded from a stream. Each key and its corresponding value in the property list is a string.
A property list can contain another property list as its "defaults"; this second property list is searched if the property key is not found in the original property list.
Because Properties inherits from Hashtable, the put and putAll methods can be applied to a Properties object. Their use is strongly discouraged as they allow the caller to insert entries whose keys or values are not Strings. The setProperty method should be used instead. If the store or save method is called on a "compromised" Properties object that contains a non-String key or value, the call will fail. Similarly, the call to the propertyNames or list method will fail if it is called on a "compromised" Properties object that contains a non-String key.
'Web > Spring framework' 카테고리의 다른 글
Spring) @Autowired의 활용 (기본) (0) | 2018.04.28 |
---|---|
Spring) .properties 파일의 활용 (0) | 2018.04.28 |
Spring) .xml을 통한 List 세팅 (0) | 2018.04.28 |
Spring) .xml을 통한 HashMap 세팅 (0) | 2018.04.28 |
Spring) .xml을 통한 변수값 설정, 생성자 활용 (0) | 2018.04.28 |