interface Interaction {}和getFilePointer() 是做什么用的?

spartafan 2004-07-09 02:43:38
它们好象和IO有关,是吗?

谢谢!
...全文
190 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
spartafan 2004-07-11
  • 打赏
  • 举报
回复
抄javadoc的吧。

我问的是它返回的值是什么位置的。在一个记录的前面还是后面。

bon_jovi 2004-07-09
  • 打赏
  • 举报
回复
public long getFilePointer()
throws IOException


Returns the current offset in this file.

Returns:

the offset from the beginning of the file, in bytes, at which the next read or write occurs.

Throws:

IOException - if an I/O error occurs.


Interaction不清楚

62,622

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧