private synchronized void checkPath ( String logPath ) throws ParameterException { Validate . notNull ( path ) ; File cPath = new File ( logPath ) ; if ( ! cPath . exists ( ) ) cPath . mkdirs ( ) ; if ( ! cPath . isDirectory ( ) ) throw new ParameterException ( ErrorCode . INCOMPATIBILITY , logPath + " is not a valid path!" ) ; }
Sets the path for the file writer where output files are put in .