A very simplified view of the file object is provided in Figure 6.
图6提供了文件对象的简化视图。
To write data to a file, you have to first create the file object.
要把数据写入文件,必须先创建file对象。
The solution to this problem is also easy: Tell the file object to go back to the beginning of the file.
这个问题的解决方案也很简单:让file对象返回文件的开头。
Append additional data to the file object.
在文件对象中附加上其他数据。
Another familiar line is the instantiation of the File object.
另一个类似行是File对象的实例化。
The first parameter is the POJO. The second parameter is the File object.
第一个参数是POJO,第二个参数是File对象。
The first parameter is the POJO. The second parameter is the File object.
第一个参数是POJO,第二个参数是File对象。
应用推荐