1. 필요 라이브러리. compile('org.jsoup:jsoup:1.11.3') * 최신버젼은 maven repository 에서 확인 가능. 2. 테스트 코드 package my.test.bed; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.select.Elements; public class MyTest { /** * html parse test * */ public void htmlParseTest(String html) { Document doc = Jsoup.parse(html); Elements imgs = doc.getElementsByTag("img"); int cnt = imgs.size(); if..
1. 필요 라이브러리 compile('com.jcraft:jsch:0.1.54') * 최신 버젼은 maven repository 에서 확인 가능. 2. 테스트 코드 import com.jcraft.jsch.Channel; import com.jcraft.jsch.ChannelSftp; import com.jcraft.jsch.JSch; import com.jcraft.jsch.JSchException; import com.jcraft.jsch.Session; import com.jcraft.jsch.SftpException; public class MyTest { /** * SFTP Upload -> 게시물 원본 http://javacpro.tistory.com/22 참고 * */ public void ..
- Total
- Today
- Yesterday
- JavaScript
- HTTP
- gpkiapi
- Fun
- devtools
- TIP
- devel
- Mobile
- Java
- MySQL
- json parse
- Security
- Review
- springboot
- 맛집
- samba
- kotlin
- Flutter
- Spring
- 엘리스센터
- dart
- Linux
- web
- Compile
- food
- Android
- ssh
- place
- SSL
- development
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |