유니코드
-
Properties 파일이란?JAVA/JDBC 2024. 6. 4. 13:30
▤ 목차" data-ke-type="html">HTML 삽입미리보기할 수 없는 소스 먼저 properties 파일을 만들어서 어떤 방식으로 돌아가고 java 프로그램에 호출할 수 있는지 확인해보자.파일을 직접 만들고 코드로 돌려보자.이후 properties 파일의 개념에 대해 알아보자.✔ Properties 파일 만들기⌨ propertiesfile을 생성한다.이때 확장자는 .properties를 넣어야한다. 해당 파일은 영어는 잘 들어가지만 한글과 같은 글자들은 unicode로 변환된다. 💻 코드로 보기package pack;import java.io.FileInputStream;import java.util.Properties;public class PropertiesTest { public sta..