private synchronized void checkFileName ( String fileName ) throws ParameterException { Validate . notNull ( fileName ) ; File cFile = new File ( fileName ) ; if ( cFile . getName ( ) . length ( ) == 0 ) throw new ParameterException ( ErrorCode . INCOMPATIBILITY , fileName + " is not a valid file-name!" ) ; }
Sets the name for the output file .