Java SE/Properties 썸네일형 리스트형 Java Properties example 자바 애플리케이션을 작성할 때 Properties 사용하는 예 프로그램이 실행되는 현재 디렉토리에 myapp-conf.properties 파일을 생성하는 예import java.io.*; import java.util.*; public class PropertiesTest { public static void main(String[] args) { Properties props = new Properties(); OutputStream os = null; try { os = new FileOutputStream("myapp-conf.properties"); props.setProperty("host", "localhost"); props.setProperty("usr", "scott"); props.se.. 더보기 이전 1 다음