일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- resource
- context
- 단축키
- IntelliJ
- lsof
- profile
- bash
- VirtualBox
- find
- Eclipse
- web.xml
- Source
- Mac
- netsh
- 네트워크
- grep
- ssh
- Windows 10
- JavaScript
- maVen
- 줄바꿈 문자
- GIT
- port
- import
- vscode
- Quartz
- tomcat
- plugin
- xargs
- Windows
- Today
- Total
목록Dev/Java (163)
develog
- log4sql, stable 버전 다운로드 http://sourceforge.net/projects/log4sql/files/log4sql/ - log4sql.jar 라이브러리에 추가 - driverClassName 변경 driverClassName="core.log.jdbc.driver.OracleDriver"
http://static.springsource.org/spring/docs/2.5.x/reference/aop.html execution(modifiers-pattern? ret-type-pattern declaring-type-pattern? name-pattern(param-pattern) throws-pattern?)
public enum WeekDay { SUNDAY(0, "일"), MONDAY(1, "월"), TUESDAY(2, "화"), WEDNESDAY(3, "수"), THURSDAY(4, "목"), FRIDAY(5, "금"), SATURDAY(6, "토"); private int code; private String dayNm; private WeekDay(int code, String dayNm) { this.code = code; this.dayNm = dayNm; } public int getCode() { return code; } public String getDayNm() { return dayNm; } } public class TestEnum { public static void main(Str..
public void testProps() throws Exception { Properties props = new Properties(); props.load(new FileInputStream("src/db.properties")); Set set = props.keySet(); Iterator iter = set.iterator(); while (iter.hasNext()) { String key = (String) iter.next(); System.out.println(key + " : " + props.getProperty(key)); }}
String str = null;System.out.println((String) str); // 'null' text returnSystem.out.println(String.valueOf(str)); // 'null' text returnSystem.out.println(str.toString()); // NullPointException