public abstract class RawFileEntry extends Object
Resource can be obtained from this class.
The RawFileEntry instance can be obtained only by using the
ResourceManager.getRawFileEntry(String) method.
Resource,
ResourceManager| 构造器 | 说明 |
|---|---|
RawFileEntry() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
abstract Entry[] |
getEntries() |
Searches for the paths of all raw files.
|
abstract Entry.Type |
getType() |
Obtains the type of a
RawFileEntry, either FOLDER or FILE. |
abstract Resource |
openRawFile() |
Gains access to the raw file.
|
abstract RawFileDescriptor |
openRawFileDescriptor() |
Gains access to the file descriptor of the raw file in the relative path of the rawfile directory
in the application package.
|
public abstract Resource openRawFile() throws IOException
IOException - Throws this exception if an I/O error occurs during the search for all raw files.Resourcepublic abstract RawFileDescriptor openRawFileDescriptor() throws IOException
IOException - Throws this exception if an I/O error occurs during the search for all raw files.RawFileDescriptorpublic abstract Entry[] getEntries() throws IOException
IOException - Throws this exception if an I/O error occurs during the search for all raw files.Entrypublic abstract Entry.Type getType()
RawFileEntry, either FOLDER or FILE.RawFileEntry.Entry