Subversion Repositories bacoAlunos

Rev

Rev 1840 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1840 Rev 1848
Line 132... Line 132...
132
 
132
 
133
    /*
133
    /*
134
 
134
 
135
    public static void main(String[] args) throws Throwable
135
    public static void main(String[] args) throws Throwable
136
    {
136
    {
137
        URL url = new URL(Globals.SYSTEM_WSJSON_SERVICE_COURSE_UNITS_EVALUATION + "?code=9119&year=201516&period=S2");
137
        URL url = new URL(Globals.SYSTEM_WSJSON_SERVICE_COURSE_UNITS_EVALUATION_REPORT + "?code=9119&year=201516&period=S2");
138
        InputStream is = url.openStream();
138
        InputStream is = url.openStream();
139
 
139
 
140
        String json = StreamsUtils.readString(is);
140
        String json = StreamsUtils.readString(is);
141
        is.close();
141
        is.close();
142
        JSONObject jsonObject = new JSONObject(json);
142
        JSONObject jsonObject = new JSONObject(json);