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
- error
- Python
- Pattern
- db
- Web
- java
- Numpy
- Security
- Deep
- 함수
- DeepLearning
- Analysis
- javascript
- Github
- Linux
- SSH
- learning
- git
- mariaDB
- 인공지능
- LIST
- mysql
- framework
- Server
- ai
- centos
- data
- Spring
- 자바
- interface
Archives
- Today
- Total
목록Parsing (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