Subversion Repositories bacoAlunos

Rev

Rev 1779 | Rev 1782 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1779 Rev 1780
Line 70... Line 70...
70
 
70
 
71
        gensonSimpleFields = gensonBuilderSimpleFields.create();
71
        gensonSimpleFields = gensonBuilderSimpleFields.create();
72
 
72
 
73
    }
73
    }
74
 
74
 
75
     
-
 
76
 
75
 
77
 
76
 
78
 
77
 
79
 
78
 
80
 
79
 
-
 
80
 
81
    public 1.5.0/docs/api/java/lang/String.html">String toJson() throws 1.5.0/docs/api/java/io/IOException.html">IOException
81
    public 1.5.0/docs/api/java/lang/String.html">String toJson()  {
82
    {
-
 
83
        return genson.serialize(this);
82
        return genson.serialize(this);
84
    }
83
    }
85
 
84
 
86
    public static 1.5.0/docs/api/java/lang/String.html">String toJson(List<RepositoryDocumentCollection> collections) throws 1.5.0/docs/api/java/io/IOException.html">IOException
85
    public static 1.5.0/docs/api/java/lang/String.html">String toJson(List<RepositoryDocumentCollection> collections) throws 1.5.0/docs/api/java/io/IOException.html">IOException
87
    {
86
    {
Line 102... Line 101...
102
 
101
 
103
    public static RepositoryDocumentCollectionImpl loadFromJson(1.5.0/docs/api/java/lang/String.html">String json) throws 1.5.0/docs/api/java/io/IOException.html">IOException {
102
    public static RepositoryDocumentCollectionImpl loadFromJson(1.5.0/docs/api/java/lang/String.html">String json) throws 1.5.0/docs/api/java/io/IOException.html">IOException {
104
        return genson.deserialize(json, RepositoryDocumentCollectionImpl.class);
103
        return genson.deserialize(json, RepositoryDocumentCollectionImpl.class);
105
    }
104
    }
106
 
105
 
107
    public JSONObject toJsonObject() throws 1.5.0/docs/api/java/io/IOException.html">IOException, JSONException {
106
    public JSONObject toJsonObject() throws  JSONException {
108
        return new JSONObject(toJson());
107
        return new JSONObject(toJson());
109
    }
108
    }
110
 
109
 
111
    public 1.5.0/docs/api/java/lang/String.html">String getPathName()
110
    public 1.5.0/docs/api/java/lang/String.html">String getPathName()
112
    {
111
    {