Closeable, AutoCloseableRawFileDescriptorpublic abstract class BaseFileDescriptor extends Object implements Closeable
| 构造器 | 说明 |
|---|---|
BaseFileDescriptor() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
abstract FileDescriptor |
getFileDescriptor() |
Obtains the file descriptor.
|
abstract long |
getFileSize() |
Obtains the file size.
|
abstract long |
getStartPosition() |
Obtains the start position of data in the file.
|
public abstract FileDescriptor getFileDescriptor()
You can use the file descriptor to read data in the file.
public abstract long getFileSize()
public abstract long getStartPosition()