public void moveThisFile ( LineNumberReader reader , File fileDestDir , String strDestName ) { try { File fileDest = new File ( fileDestDir , strDestName ) ; fileDest . createNewFile ( ) ; FileOutputStream fileOut = new FileOutputStream ( fileDest ) ; m_writer = new PrintWriter ( fileOut ) ; this . moveSourceToDest ( reader , m_writer ) ; m_writer . close ( ) ; fileOut . close ( ) ; } catch ( FileNotFoundException ex ) { ex . printStackTrace ( ) ; } catch ( IOException ex ) { ex . printStackTrace ( ) ; } }
MoveThisFile Method .