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