You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd><code>data</code> - The binary property list's data.</dd>
244
244
<dt><spanclass="returnLabel">Returns:</span></dt>
245
-
<dd>The root object of the property list. This is usually a {@link NSDictionary} but can also be a {@link NSArray}.</dd>
245
+
<dd>The root object of the property list. This is usually a <ahref="../../../com/dd/plist/NSDictionary.html" title="class in com.dd.plist"><code>NSDictionary</code></a>but can also be a <ahref="../../../com/dd/plist/NSArray.html" title="class in com.dd.plist"><code>NSArray</code></a>.</dd>
246
246
<dt><spanclass="throwsLabel">Throws:</span></dt>
247
247
<dd><code><ahref="../../../com/dd/plist/PropertyListFormatException.html" title="class in com.dd.plist">PropertyListFormatException</a></code> - When the property list's format could not be parsed.</dd>
248
-
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</a></code> - When a NSString object could not be decoded.</dd>
248
+
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</a></code> - If a <ahref="../../../com/dd/plist/NSString.html" title="class in com.dd.plist"><code>NSString</code></a> object could not be decoded.</dd>
249
249
</dl>
250
250
</li>
251
251
</ul>
@@ -258,15 +258,16 @@ <h4>parse</h4>
258
258
<pre>public static <ahref="../../../com/dd/plist/NSObject.html" title="class in com.dd.plist">NSObject</a> parse(<ahref="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is)
259
259
throws <ahref="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
260
260
<ahref="../../../com/dd/plist/PropertyListFormatException.html" title="class in com.dd.plist">PropertyListFormatException</a></pre>
261
-
<divclass="block">Parses a binary property list from an input stream.</div>
261
+
<divclass="block">Parses a binary property list from an input stream.
262
+
This method does not close the specified input stream.</div>
<dd><code>is</code> - The input stream that points to the property list's data.</dd>
265
266
<dt><spanclass="returnLabel">Returns:</span></dt>
266
-
<dd>The root object of the property list. This is usually a {@link NSDictionary} but can also be a {@link NSArray}.</dd>
267
+
<dd>The root object of the property list. This is usually a <ahref="../../../com/dd/plist/NSDictionary.html" title="class in com.dd.plist"><code>NSDictionary</code></a>but can also be a <ahref="../../../com/dd/plist/NSArray.html" title="class in com.dd.plist"><code>NSArray</code></a>.</dd>
267
268
<dt><spanclass="throwsLabel">Throws:</span></dt>
268
269
<dd><code><ahref="../../../com/dd/plist/PropertyListFormatException.html" title="class in com.dd.plist">PropertyListFormatException</a></code> - When the property list's format could not be parsed.</dd>
269
-
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - When a NSStringobject could not be decoded or an InputStream IO error occurs.</dd>
270
+
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If a <ahref="../../../com/dd/plist/NSString.html" title="class in com.dd.plist"><code>NSString</code></a>object could not be decoded or an I/O error occurs on the input stream.</dd>
<dd><code>f</code> - The binary property list file</dd>
286
287
<dt><spanclass="returnLabel">Returns:</span></dt>
287
-
<dd>The root object of the property list. This is usually a {@link NSDictionary} but can also be a {@link NSArray}.</dd>
288
+
<dd>The root object of the property list. This is usually a <ahref="../../../com/dd/plist/NSDictionary.html" title="class in com.dd.plist"><code>NSDictionary</code></a>but can also be a <ahref="../../../com/dd/plist/NSArray.html" title="class in com.dd.plist"><code>NSArray</code></a>.</dd>
288
289
<dt><spanclass="throwsLabel">Throws:</span></dt>
289
290
<dd><code><ahref="../../../com/dd/plist/PropertyListFormatException.html" title="class in com.dd.plist">PropertyListFormatException</a></code> - When the property list's format could not be parsed.</dd>
290
-
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/UnsupportedEncodingException.html?is-external=true" title="class or interface in java.io">UnsupportedEncodingException</a></code> - When a NSString object could not be decoded or a file IO error occurs.</dd>
291
-
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
291
+
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If a <ahref="../../../com/dd/plist/NSString.html" title="class in com.dd.plist"><code>NSString</code></a> object could not be decoded or an I/O error occurs on the input stream.</dd>
292
292
</dl>
293
293
</li>
294
294
</ul>
@@ -488,6 +488,6 @@ <h4>copyOfRange</h4>
488
488
<!-- -->
489
489
</a></div>
490
490
<!-- ======== END OF BOTTOM NAVBAR ======= -->
491
-
<pclass="legalCopy"><small>Copyright © 2017. All Rights Reserved.</small></p>
491
+
<pclass="legalCopy"><small>Copyright © 2018. All Rights Reserved.</small></p>
<dd><code>root</code> - the source of the data to write to the file</dd>
197
197
<dt><spanclass="throwsLabel">Throws:</span></dt>
198
-
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - When an IO error occurs while writing to the file or the object structure contains
198
+
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If an I/O error occurs while writing to the file or the object structure contains
199
199
data that cannot be saved.</dd>
200
200
</dl>
201
201
</li>
@@ -209,13 +209,14 @@ <h4>write</h4>
209
209
<pre>public static void write(<ahref="http://download.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out,
210
210
<ahref="../../../com/dd/plist/NSObject.html" title="class in com.dd.plist">NSObject</a> root)
211
211
throws <ahref="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
212
-
<divclass="block">Writes a binary plist serialization of the given object as the root.</div>
212
+
<divclass="block">Writes a binary plist serialization of the given object as the root.
213
+
This method does not close the output stream.</div>
<dd><code>out</code> - the stream to write to</dd>
216
217
<dd><code>root</code> - the source of the data to write to the stream</dd>
217
218
<dt><spanclass="throwsLabel">Throws:</span></dt>
218
-
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - When an IO error occurs while writing to the stream or the object structure contains
219
+
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If an I/O error occurs while writing to the stream or the object structure contains
219
220
data that cannot be saved.</dd>
220
221
</dl>
221
222
</li>
@@ -236,7 +237,7 @@ <h4>writeToArray</h4>
236
237
<dt><spanclass="returnLabel">Returns:</span></dt>
237
238
<dd>The byte array containing the serialized property list</dd>
238
239
<dt><spanclass="throwsLabel">Throws:</span></dt>
239
-
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - When an IO error occurs while writing to the stream or the object structure contains
240
+
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If an I/O error occurs while writing to the stream or the object structure contains
240
241
data that cannot be saved.</dd>
241
242
</dl>
242
243
</li>
@@ -309,6 +310,6 @@ <h4>writeToArray</h4>
309
310
<!-- -->
310
311
</a></div>
311
312
<!-- ======== END OF BOTTOM NAVBAR ======= -->
312
-
<pclass="legalCopy"><small>Copyright © 2017. All Rights Reserved.</small></p>
313
+
<pclass="legalCopy"><small>Copyright © 2018. All Rights Reserved.</small></p>
0 commit comments