private ProjectFile read ( ) throws Exception { m_project = new ProjectFile ( ) ; m_eventManager = m_project . getEventManager ( ) ; m_project . getProjectProperties ( ) . setFileApplication ( "Synchro" ) ; m_project . getProjectProperties ( ) . setFileType ( "SP" ) ; CustomFieldContainer fields = m_project . getCustomFields ( ) ; fields . getCustomField ( TaskField . TEXT1 ) . setAlias ( "Code" ) ; m_eventManager . addProjectListeners ( m_projectListeners ) ; processCalendars ( ) ; processResources ( ) ; processTasks ( ) ; processPredecessors ( ) ; return m_project ; }
Reads data from the SP file .