public void write(File file) throws IORuntimeException {
		try (OutputStream out = FileUtil.getOutputStream(file)) {
			this.write(out);
		} catch (IOException e) {
			throw new IORuntimeException(e);
		}
	}
public void write ( File file ) throws IORuntimeException { try ( OutputStream out = FileUtil . getOutputStream ( file ) ) { this . write ( out ) ; } catch ( IOException e ) { throw new IORuntimeException ( e ) ; } }
验证码写出到文件

@param file 文件
@throws IORuntimeException IO异常