private synchronized void initialize ( String fileName , String path ) throws ParameterException { if ( ! path . equals ( this . path ) ) { checkPath ( path ) ; this . path = path ; } if ( ! fileName . equals ( this . fileName ) ) { checkFileName ( fileName ) ; this . fileName = fileName ; } }
Initializes the file writer with the given file and path names .