Class NativeFileFormatWriter

  extended by

public class NativeFileFormatWriter
extends java.lang.Object

$Id: writes Project35 experiment files. These files are zip files that have a ".pdz" extension. A pdz file contains a ".pdr" file by the same name. This file contains the data.

Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.

Kevin Garwood (

Constructor Summary
NativeFileFormatWriter(Project35FormContext project35FormContext)
Method Summary
 void initialiseCommentFacility(ModelObjectCommentRegistry modelObjectCommentRegistry, java.lang.Object userObject)
 void omitModelStamp()
          causes Project35 to ignore whether the model stamp used in the file matches the model stamp used by the application
 void setDocumentHeaderComment(java.lang.String documentHeaderComment)
          Set the value of documentHeaderComment.
 void writeFile( file, RecordModel recordModel)
          assumes file will be of format "x.pdz"
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public NativeFileFormatWriter(Project35FormContext project35FormContext)
Method Detail


public void initialiseCommentFacility(ModelObjectCommentRegistry modelObjectCommentRegistry,
                                      java.lang.Object userObject)


public void setDocumentHeaderComment(java.lang.String documentHeaderComment)
Set the value of documentHeaderComment.

documentHeaderComment - Value to assign to documentHeaderComment.


public void omitModelStamp()
causes Project35 to ignore whether the model stamp used in the file matches the model stamp used by the application


public void writeFile( file,
                      RecordModel recordModel)
assumes file will be of format "x.pdz"