 - the file to serialize the object to</dd><dd><code>o</code> - the object to write to the file</dd>
<dt><span class="strong">Returns:</span></dt><dd>whether writing was successful or not</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if something goes wrong while writing to the file</dd></dl>
</li>
</ul>
<a name="write(java.io.File, java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
<pre>public static&nbsp;boolean&nbsp;