public static enum ConnectionFactory.Detecting.Detection extends Enum<ConnectionFactory.Detecting.Detection>
ConnectionFactory.Detecting.detect(ByteBuffer)
method.Enum Constant and Description |
---|
NEED_MORE_BYTES
A
ConnectionFactory.Detecting requires more bytes to make a decision. |
NOT_RECOGNIZED
A
ConnectionFactory.Detecting cannot work with the given bytes. |
RECOGNIZED
A
ConnectionFactory.Detecting can work with the given bytes. |
Modifier and Type | Method and Description |
---|---|
static ConnectionFactory.Detecting.Detection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionFactory.Detecting.Detection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionFactory.Detecting.Detection RECOGNIZED
ConnectionFactory.Detecting
can work with the given bytes.public static final ConnectionFactory.Detecting.Detection NOT_RECOGNIZED
ConnectionFactory.Detecting
cannot work with the given bytes.public static final ConnectionFactory.Detecting.Detection NEED_MORE_BYTES
ConnectionFactory.Detecting
requires more bytes to make a decision.public static ConnectionFactory.Detecting.Detection[] values()
for (ConnectionFactory.Detecting.Detection c : ConnectionFactory.Detecting.Detection.values()) System.out.println(c);
public static ConnectionFactory.Detecting.Detection 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 © 2010 - 2020 Adobe. All Rights Reserved