public class LazyResourceReader extends AbstractResourceReadProcessor
CURRENT_LEVEL, MARK_STRING
DEFAULT_LAYER_INDEX
构造器和说明 |
---|
LazyResourceReader() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String[] |
cachedResources()
设置需要缓存的资源文件
|
static LazyResourceReader |
getInstance() |
java.io.InputStream |
readResource(java.lang.String path)
读资源文件
|
currentAPILevel, layerIndex, needCache
public static LazyResourceReader getInstance()
public java.io.InputStream readResource(java.lang.String path)
ResourceReadProcessor
path
- 文件相对路径public java.lang.String[] cachedResources()
ResourceReadProcessor