본문 바로가기 메뉴 바로가기

개발자의 끄적끄적..🥳

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

개발자의 끄적끄적..🥳

검색하기 폼
  • ☆ (56)
    • My Life (1)
      • 포스팅 (1)
    • Development (55)
      • JAVA (16)
      • Database & SQL (4)
      • Javascript & jQuery (6)
      • Spring (2)
      • React (1)
      • Git (2)
      • Error (6)
      • TIP (5)
      • .etc (13)
  • 방명록

java 형변환 (1)
[JAVA] 형 변환 (String to Map, String to int, int to String..)

String to ListMap import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; public List getCommonList(String path) { List returnList = new ArrayList(); try { URL url = new URL(url); HttpURLConnection con = (HttpURLConnection) url.openConnection(); con.setConnectTimeout(20000); //서버에 연결되는 Timeout 시간 설정 con.setReadTimeout(60000); // InputStream 읽어 오는..

Development/JAVA 2022. 4. 11. 10:06
이전 1 다음
이전 다음
링크
최근에 올라온 글
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바