net.sf.mpxj
Class FileCreationRecord

java.lang.Object
  extended by net.sf.mpxj.FileCreationRecord

public final class FileCreationRecord
extends Object

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.


Method Summary
 CodePage getCodePage()
          Retrieves the codepage.
 char getDelimiter()
          Retrieves the delimiter character, "," by default.
 FileVersion getFileVersion()
          Version of the MPX file.
 ProjectFile getParentFile()
          Accessor method allowing retrieval of ProjectFile reference.
 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(String programName)
          Program name file created by.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(String programName)
Program name file created by.

Parameters:
programName - system name

getProgramName

public 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

getParentFile

public final ProjectFile getParentFile()
Accessor method allowing retrieval of ProjectFile reference.

Returns:
reference to this the parent ProjectFile instance


Copyright © 2012. All Rights Reserved.