public enum Factory extends Enum<Factory>
| Enum Constant and Description |
|---|
CF |
| Modifier and Type | Method and Description |
|---|---|
EffectProvider |
get(String name)
获取解压缩服务提供者 @SPI 值是{#name} 名称
|
static Factory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Factory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Factory CF
public static Factory[] values()
for (Factory c : Factory.values()) System.out.println(c);
public static Factory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic EffectProvider get(String name)
name - 名称Copyright © 2020. All rights reserved.