R
- Receiver typepublic abstract class AbstractText<R>
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected @NotNull java.lang.String |
message |
构造器和说明 |
---|
AbstractText(@NotNull java.lang.Class<R> receiverClazz,
@NotNull java.lang.String message) |
限定符和类型 | 方法和说明 |
---|---|
@NotNull java.lang.String |
getMessage() |
@NotNull java.lang.Class<R> |
getReceiverClazz() |
<M> M |
parse(@NotNull java.util.function.BiFunction<R,java.lang.String,M> parser,
R receiver,
@NotNull java.util.Map<java.lang.String,java.lang.Object> placeholders) |
<M> M |
parse(@NotNull java.util.function.BiFunction<R,java.lang.String,M> parser,
R receiver,
@Nullable java.lang.String[] params,
@Nullable java.lang.Object[] values) |
public AbstractText(@NotNull @NotNull java.lang.Class<R> receiverClazz, @NotNull @NotNull java.lang.String message)
@NotNull public @NotNull java.lang.Class<R> getReceiverClazz()
@NotNull public @NotNull java.lang.String getMessage()
@NotNull public <M> M parse(@NotNull @NotNull java.util.function.BiFunction<R,java.lang.String,M> parser, @Nullable R receiver, @Nullable @Nullable java.lang.String[] params, @Nullable @Nullable java.lang.Object[] values)
Copyright © 2024. All rights reserved.