일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- DB 도메인
- ssh
- lsof
- bash
- GIT
- Windows 10
- Source
- maVen
- 공통표준용어
- find
- context
- import
- 단축키
- copy-dependencies
- Quartz
- IntelliJ
- tomcat
- grep
- JavaScript
- Windows
- 네트워크
- web.xml
- port
- Eclipse
- xargs
- VirtualBox
- netsh
- profile
- Mac
- Today
- Total
목록Dev (274)
develog
interface JdbcTemplateHandler {public Object mapRow(String param, JdbcTemplateHandler handler);} class JdbcTemplate implements JdbcTemplateHandler {public Object queryForObject(String param, JdbcTemplateHandler handler) {System.out.println("query executing...");try {Thread.sleep(3000);} catch (InterruptedException e) {e.printStackTrace();}return mapRow(param, handler);}public Object mapRow(Strin..
E:\workspace\test_Zip>jar cvf aa.jar -C src .
System.getProperty("line.separator")
import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStream;import java.io.OutputStream; public class TestMain { public static void main(String[] args) {System.out.println("START");System.out.println("-----------------------------------");fileCopyTest("assets/aa.zip", "assets/bb.zip");fileCopyTest("asse..
private String getCustomDate(String yyyymmdd) { int year = Integer.parseInt(yyyymmdd.substring(0, 4)); int month = Integer.parseInt(yyyymmdd.substring(4, 6)); int date = Integer.parseInt(yyyymmdd.substring(6, 8)); Calendar cal = Calendar.getInstance(); cal.set(year, month - 1, date); cal.add(Calendar.YEAR, -1); // 1년 전 cal.add(Calendar.MONTH, -1); // 한달 전 cal.add(Calendar.DATE, -1); // 하루 전 Simp..