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 |
Tags
- data
- Github
- DeepLearning
- Numpy
- 자바
- db
- java
- mysql
- Analysis
- learning
- Deep
- Security
- Server
- javascript
- Python
- 인공지능
- SSH
- error
- mariaDB
- LIST
- Web
- git
- ai
- centos
- Spring
- Pattern
- interface
- framework
- 함수
- Linux
Archives
- Today
- Total
목록URL (1)
PostIT
[JAVA/JSON] URL에 있는 Json Data를 가져오기 위한 메소드(JAVA)
private String jsonReadAll(Reader reader) throws IOException { StringBuilder sb = new StringBuilder(); int cp; while ((cp = reader.read()) != -1) { sb.append((char) cp); } return sb.toString(); } private JSONObject readJsonFromUrl(String url) throws IOException, JSONException { InputStream is = new URL(url).openStream(); try { BufferedReader rd = new BufferedReader(new InputStreamReader(is, Char..
Java
2016. 10. 26. 17:51