Fileoutputstream File Read mode

Source: Internet
Author: User
Context. mode_private: the default operation mode, indicating that the file is private data and can only be accessed by the application itself. In this mode, the written content will overwrite the content of the original file; context. mode_append: This mode checks whether the file exists. If yes, the file content is appended; otherwise, the file is created; context. world_readable: indicates that the file can be read by other applications; context. world_writeable: indicates that the file can be written by other applications. If you want the file to be read and written by other applications, You can import it as follows: Openfileoutput ("eboy.txt", context. world_readable + context. world_writeable );

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.