MPXJ: Microsoft Project Exchange

net.sf.mpxj
Class FileCreationRecord

Package class diagram package FileCreationRecord
java.lang.Object
  extended by net.sf.mpxj.ProjectEntity
      extended by net.sf.mpxj.FileCreationRecord

public final class FileCreationRecord
extends ProjectEntity

This class represents the first record to appear in an MPX file. This record identifies the file type, version number, originating software and the separator to be used in the remainder of the file.


Constructor Summary
FileCreationRecord(ProjectFile file)
          Default constructor.
 
Method Summary
 CodePage getCodePage()
          Retrieves the codepage.
 char getDelimiter()
          Retrieves the delimiter character, "," by default.
 FileVersion getFileVersion()
          Version of the MPX file.
 java.lang.String getProgramName()
          Program name file created by.
 void setCodePage(CodePage codePage)
          Sets the codepage.
 void setDelimiter(char delimiter)
          Sets the delimiter character, "," by default.
 void setFileVersion(FileVersion version)
          Version of the MPX file.
 void setProgramName(java.lang.String programName)
          Program name file created by.
 
Methods inherited from class net.sf.mpxj.ProjectEntity
getParentFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCreationRecord

FileCreationRecord(ProjectFile file)
Default constructor.

Parameters:
file - the parent file to which this record belongs.
Method Detail

setDelimiter

public void setDelimiter(char delimiter)
Sets the delimiter character, "," by default.

Parameters:
delimiter - delimiter character

getDelimiter

public char getDelimiter()
Retrieves the delimiter character, "," by default.

Returns:
delimiter character

setProgramName

public void setProgramName(java.lang.String programName)
Program name file created by.

Parameters:
programName - system name

getProgramName

public java.lang.String getProgramName()
Program name file created by.

Returns:
program name

setFileVersion

public void setFileVersion(FileVersion version)
Version of the MPX file.

Parameters:
version - MPX file version

getFileVersion

public FileVersion getFileVersion()
Version of the MPX file.

Returns:
MPX file version

setCodePage

public void setCodePage(CodePage codePage)
Sets the codepage.

Parameters:
codePage - code page type

getCodePage

public CodePage getCodePage()
Retrieves the codepage.

Returns:
code page type


Copyright © 2000-2009 Packwood Software. All Rights Reserved.