public enum BrotliMode extends Enum<BrotliMode>
Enum Constant and Description |
---|
FONT
Designed specifically for font data compression, as used in WOFF 2.0.
|
GENERIC
The compressor does not make any assumptions about the input data's properties,
making it suitable for a wide range of data types.
|
TEXT
Optimized for UTF-8 formatted text input.
|
Modifier and Type | Method and Description |
---|---|
static BrotliMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BrotliMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrotliMode GENERIC
public static final BrotliMode TEXT
public static final BrotliMode FONT
public static BrotliMode[] values()
for (BrotliMode c : BrotliMode.values()) System.out.println(c);
public static BrotliMode 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 nullCopyright © 2008–2025 The Netty Project. All rights reserved.