R - public abstract class Ref<R extends Ref> extends Object
| Constructor and Description |
|---|
Ref() |
| Modifier and Type | Method and Description |
|---|---|
R |
getR()
获取引用的对象
|
String |
getRef() |
static <R> R |
load(InputStream inputStream,
Class<R> clazz)
从资源文件加载
|
static <R> R |
load(String resource,
Class<R> clazz)
从资源文件加载
|
void |
setRef(String ref) |
public static <R> R load(String resource, Class<R> clazz)
R - resource - clazz - public static <R> R load(InputStream inputStream, Class<R> clazz)
R - inputStream - clazz - public String getRef()
public void setRef(String ref)
public R getR()
Copyright © 2023. All rights reserved.