일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- bash
- plugin
- Eclipse
- IntelliJ
- vscode
- port
- grep
- xargs
- ssh
- GIT
- netsh
- Windows
- maVen
- Mac
- Windows 10
- VirtualBox
- Source
- find
- 단축키
- 줄바꿈 문자
- Quartz
- 네트워크
- lsof
- import
- context
- tomcat
- profile
- JavaScript
- resource
- web.xml
- 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..