Closeable, AutoCloseablepublic abstract class RawFileDescriptor extends BaseFileDescriptor
RawFileEntry.
You can use the file descriptor to read data, obtain the data start position, and obtain the length of the raw
file. This class inherits from BaseFileDescriptor. The RawFileDescriptor instance can be obtained
only by using the RawFileEntry.openRawFileDescriptor() method.
RawFileEntry,
BaseFileDescriptor| 构造器 | 说明 |
|---|---|
RawFileDescriptor() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
abstract FileDescriptor |
getFileDescriptor() |
Obtains the file descriptor of the raw file.
|
abstract long |
getFileSize() |
Obtains the size of the raw file.
|
abstract long |
getStartPosition() |
Obtains the start position of data in the raw file.
|
public abstract FileDescriptor getFileDescriptor()
You can use the file descriptor to read data in the raw file.
getFileDescriptor 在类中 BaseFileDescriptorpublic abstract long getFileSize()
getFileSize 在类中 BaseFileDescriptorpublic abstract long getStartPosition()
getStartPosition 在类中 BaseFileDescriptor