code: public <T> File writeLines(Collection<T> list, LineSeparator lineSeparator, boolean isAppend) throws IORuntimeException {
  		try (PrintWriter writer = getPrintWriter(isAppend)){
  			for (T t : list) {
  				if (null != t) {
  					writer.print(t.toString());
  					printNewLine(writer, lineSeparator);
  					writer.flush();
  				}
  			}
  		}
  		return this.file;
  	}
docs: 将列表写入文件
  
  @param <T> 集合元素类型
  @param list 列表
  @param lineSeparator 换行符枚举（Windows、Mac或Linux换行符）
  @param isAppend 是否追加
  @return 目标文件
  @throws IORuntimeException IO异常
  @since 3.1.0