创建CSV文件并保存到Blobstore

创建CSV文件并保存到Blobstore

本文介绍了创建CSV文件并保存到Blobstore的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以创建CSV文件并存储,并在AppEngine Blobstore上进行更新。也可以通过电子邮件发送这个blobstore CSV文件作为附件吗?如果是,是否有任何示例文档可用于完成此操作。 可以,包括CSV数据(仅为文本)。


  • 您也可以,以及。



  • 您可以附加到该文件,直到它最终关闭 - 意味着您可以通过一系列请求追加到该文件。但是一旦 closeFinally()被调用,它就变得不可变 - 你不能追加它或改变内容。


    Is it possible to create a CSV file and store, update it on AppEngine Blobstore. Also would it be possible to email this blobstore CSV file as attachment? If yes, are are any sample docs available to accomplish this.

    解决方案
    1. Yes you can write data to blobstore, including CSV data (which is just text).

    2. You can also read data from blobstore, and create mail with attachment.

    Update:

    You can append to the file until it's finally closed - meaning you can append to it via a series of requests. But once closeFinally() is called, it becomes immutable - you can not append to it or change contents.

    这篇关于创建CSV文件并保存到Blobstore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

    08-02 01:33