반응형
현재 실행 중인 class 파일의 절대 경로 구하기
String path = MyClass.class.getResource(".").getPath();
반응형
'Programming' 카테고리의 다른 글
| curl 을 사용하여 https 에 접속할때 22에러 (0) | 2012.09.19 |
|---|---|
| Mocktio 에서 void 매소드 테스트 (0) | 2012.09.12 |
| STS crash - org.eclipse.swt.SWTError: Invalid thread access (0) | 2012.08.28 |
| http request 요청 확인 (0) | 2012.08.23 |
| request header, body (0) | 2012.08.23 |