标题:[求助]找了俩小时还不知道FileDescriptor是什么
只看楼主
myfor
Rank: 3Rank: 3
等 级:新手上路
威 望:6
帖 子:357
专家分:6
注 册:2006-3-13
 问题点数:0 回复次数:1 
[求助]找了俩小时还不知道FileDescriptor是什么
请知道的告知其使用方法
2006-06-07 20:24
千里冰封
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:灌水之王
等 级:版主
威 望:155
帖 子:28477
专家分:59
注 册:2006-2-26
得分:0 

查看API

public final class FileDescriptor
extends Object

Instances of the file descriptor class serve as an opaque handle to the underlying machine-specific structure representing an open file, an open socket, or another source or sink of bytes. The main practical use for a file descriptor is to create a FileInputStream or FileOutputStream to contain it.

Applications should not create their own file descriptors.

Since:
JDK1.0
See Also:
FileInputStream, FileOutputStream

一般自己的应用程序不必去创建一个FileDescriptor对象.它只是一个表示开放文件、开放套接字或者字节的另一个源或接收者

可惜不是你,陪我到最后
2006-06-08 11:07



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-70463-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.306375 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved