src/auto/Recorder.java
private void writeDataToFile()
    {
        m_fileWriter = new FileWriter(m_sFile);
        m_fileWriter.writeInt(m_Index);

        for(int iPos = 0; iPos < m_Index; iPos++)
        {
            m_joyData.setValues((JoyData) m_List.elementAt(iPos));
            Output.println(Config.IdRecorder, "X: " + m_joyData.getX()+ ", Y: " + m_joyData.getY());	
            m_fileWriter.writeDouble(m_joyData.getTimer());
            m_fileWriter.writeDouble(m_joyData.getX());
            m_fileWriter.writeDouble(m_joyData.getY());
            m_fileWriter.writeBoolean(m_joyData.getEjector());
        }

        m_fileWriter.close();
    }
/**
     * Actually writes the data to file.
     */
Actually writes the data to file.
Actually writes the data to file .
private void writeDataToFile()
    {
        m_fileWriter = new FileWriter(m_sFile);
        m_fileWriter.writeInt(m_Index);
        for(int iPos = 0; iPos < m_Index; iPos++)
        {
            m_joyData.setValues((JoyData) m_List.elementAt(iPos));
            Output.println(Config.IdRecorder, "X: " + m_joyData.getX()+ ", Y: " + m_joyData.getY());	
            m_fileWriter.writeDouble(m_joyData.getTimer());
            m_fileWriter.writeDouble(m_joyData.getX());
            m_fileWriter.writeDouble(m_joyData.getY());
            m_fileWriter.writeBoolean(m_joyData.getEjector());
        }
        m_fileWriter.close();
    }
private void writeDataToFile ( ) { m_fileWriter = new FileWriter ( m_sFile ) ; m_fileWriter . writeInt ( m_Index ) ; for ( int iPos = 0 ; iPos < m_Index ; iPos ++ ) { m_joyData . setValues ( ( JoyData ) m_List . elementAt ( iPos ) ) ; Output . println ( Config . IdRecorder , "X: " + m_joyData . getX ( ) + ", Y: " + m_joyData . getY ( ) ) ; m_fileWriter . writeDouble ( m_joyData . getTimer ( ) ) ; m_fileWriter . writeDouble ( m_joyData . getX ( ) ) ; m_fileWriter . writeDouble ( m_joyData . getY ( ) ) ; m_fileWriter . writeBoolean ( m_joyData . getEjector ( ) ) ; } m_fileWriter . close ( ) ; }
Actually writes the data to file.
Actually writes the data to file .