Method | Explain |
Properties() | Properties 객체 생성 |
Properties(Properties defaults) | 지정된 Properties에 저장된 목록을 가진 Properties() 객체 생성 |
String getProperty(String key) | 지정된 Key의 Value를 반환 |
String getProperty(String key, String defaultValue) | 지정된 Key의 Value를 반환(Key를 못 찾을 시 defaultValue 반환) |
void list(PrintStream out) | 지정된 PrintStream에 저장된 목록 출력 |
void list(PrintWriter out) | 지정된 PrintWriter에 저장된 목록 출력 |
void load(InputStream inStream) | 지정된 InputStream으로부터 목록을 읽어 저장 |
void loadFromXML(InputStream in) | 지정된 InputStream으로부터 XML 문서를 읽어 XML 문서에 저장된 목록을 읽어 저장 |
Enumeration propertyNames() | 목록의 모든 Key가 담긴 Enumeration을 반환 |
Object setProperty(String key, String value) | 지정된 Key와 Value를 저장하며 이미 존재할 시 최신 Data로 대치 |
void store(OutputStream out, String header) | 저장된 목록을 지정된 OutputStream에 출력(저장) |
void storeToXML(OutputStream os, String comment) | 저장된 목록을 지정된 OutputStream에 XML로 출력(저장) |
void storeToXML(OutputStream os, String comment, String encoding) | 저장된 목록을 지정된 OutputStream에 해당 Encoding XML 문서로 출력(저장) |
Java/Method