Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 쿠팡리뷰
- 건강식품
- 생활용품
- 쿠팡 리뷰 분석
- 가방/잡화
- 바지
- 바지/레깅스
- 쿠팡리뷰분석
- 아이 메이크업
- 쿠팡 리뷰
- 건강/의료용품
- 파닥이
- 패션마스크
- 쿠팡 브랜드
- 식품
- 자동차용품
- 쿠팡 리뷰 모아보기
- 싱글라이프
- 뷰티
- 2020 설날
- 황사마스크
- 신발
- 여성패션
- 마스크/방한대
- 스킨케어
- 장갑/시즌잡화
- 겨울용품관
- 스포츠/레저
- 선물관
- 메이크업
Archives
- Today
- Total
파닥이
[spring] 리소스 파일 읽기 본문
반응형
http://june0313.github.io/2018/08/11/read-resource-file-on-spring/
```
import org.springframework.core.io.ClassPathResource;
import java.nio.file.Path;
import java.nio.file.Paths;
ClassPathResource resource = new ClassPathResource("config/properties");
String path = Paths.get(resource.getURI()).toString();
```
https://www.mkyong.com/java/java-read-a-file-from-resources-folder/
https://blog.outsider.ne.kr/794
'IT > Spring' 카테고리의 다른 글
[spring] schedule (0) | 2019.08.23 |
---|---|
[spring] java.lang.ClassCastException 에러 - java.io.BufferedInputStream cannot be cast to java.io.FileInputStream (0) | 2019.08.22 |
[Spring] bean LifeCycle (0) | 2019.08.13 |
spring-test (0) | 2019.07.08 |
[spring boot] 시작 (1) | 2019.06.01 |
Comments