正在加载图片...
File Modes Fileoutputstream openFileoutput(String name, int mode) Open a private file for writing or appending Selected file modes from android. content. Context MODE APPEND o If the file already exists, then write data to the end of the existing file instead of erasing it MODE PRIVATE o Created file can only be accessed by the calling application (default mode MODE WORLD READABLE(deprecated in API level 17) o Allow all other applications read access to the created file MODE WORLD WRITEABLE (deprecated in aPI level 17) o Allow all other applications write access to the created fileFile Modes FileOutputStream openFileOutput(String name, int mode) (Open a private file for writing or appending.) Selected file modes from android.content.Context • MODE_APPEND o If the file already exists, then write data to the end of the existing file instead of erasing it. • MODE_PRIVATE o Created file can only be accessed by the calling application (default mode). • MODE_WORLD_READABLE (deprecated in API level 17) o Allow all other applications read access to the created file. • MODE_WORLD_WRITEABLE (deprecated in API level 17) o Allow all other applications write access to the created file. 26
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有