public void write ( File file ) throws IOException { checkNotNull ( file , "Output file cannot be null" ) ; FileUtils . writeByteArrayToFile ( file , serializedObject ) ; }
Writes the serialized object to file .