public void moveSourceToDest(LineNumberReader reader, PrintWriter dataOut)
    {
        try {
            String string;
            while ((string = reader.readLine()) != null)
            {
                string = this.convertString(string);
                if (string != null)
                {
                    dataOut.write(string);
                    dataOut.println();
                }
            }
        } catch (FileNotFoundException ex)  {
            ex.printStackTrace();
        } catch (IOException ex)    {
            ex.printStackTrace();
        }
    }
public void moveSourceToDest ( LineNumberReader reader , PrintWriter dataOut ) { try { String string ; while ( ( string = reader . readLine ( ) ) != null ) { string = this . convertString ( string ) ; if ( string != null ) { dataOut . write ( string ) ; dataOut . println ( ) ; } } } catch ( FileNotFoundException ex ) { ex . printStackTrace ( ) ; } catch ( IOException ex ) { ex . printStackTrace ( ) ; } }
MoveSourceToDest Method.