JAVA56 [타입정리] https://m.blog.naver.com/uhspower/220379571482 2023. 10. 26. [Java] Enum type 활용 https://techblog.woowahan.com/2527/ 2023. 10. 26. [Java] portable 버전 만들어보기 포터블 버전이 필요한 이유로는 컴퓨터에 자바가 없을수도 있고 버전 호환성이 맞지 않을수도 있다. 이런경우 내가 세팅해놓은 환경 그대로 프로그램을 동작 시켜야 될 경우가 있다. 완료된 프로젝트의 경우 포터블로 만들어 놓는다면 언제든지 실행 환경에 관계없이 테스트를 해볼수 있을것이다. 기존에 작성되었던 runnable.jar 파일을 이용해서 다음과 같이 포터블 버전 프로그램을 만들수 있다. 프로젝트 구조는 다음과 같이 구성해 보았다. source 내부 구조이다. 1. 사용하고자 하는 자바 버전파일을 넣어 둔다. 2. 실행시키고 싶은 runnable.jar 파일을 가져온다. https://smrdls-java.tistory.com/entry/Java-runnablejar-%EB%A5%BC-%EC%8B%A4%E.. 2023. 10. 24. [Java] 크롤링과 API 차이 https://pythontoomuchinformation.tistory.com/363 2023. 10. 23. [Java] 크롤링 1 1. Java URL 에서 제공하는 방식 String domain = "http://google.co.kr"; try{ URL u = new URL(domain); // (1) HttpURLConnection con = (HttpURLConnection) u.openConnection(); // (2) System.out.println(conn.getContentType()); }catch(MalformedURLException e){ System.out.println(e); }catch(IOException e){ System.out.println(e); } 2. Jsoup 방식 String domain = "http://google.co.kr"; Document doc = null; //Documen.. 2023. 10. 19. [Java] 타입별 초기 데이터 2023. 10. 13. 이전 1 2 3 4 5 6 7 8 ··· 10 다음