public enum EthernetPacketDeserializers extends Enum<EthernetPacketDeserializers> implements IEthernetPacketDeserializer
Modifier and Type | Method and Description |
---|---|
List<Object> |
deserialize(org.pcap4j.packet.EthernetPacket packet) |
static IEthernetPacketDeserializer |
getDeserializer(String deserializer) |
static EthernetPacketDeserializers |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EthernetPacketDeserializers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EthernetPacketDeserializers ETH
public static final EthernetPacketDeserializers IP
public static final EthernetPacketDeserializers PROTOCOL
public static EthernetPacketDeserializers[] values()
for (EthernetPacketDeserializers c : EthernetPacketDeserializers.values()) System.out.println(c);
public static EthernetPacketDeserializers 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 static IEthernetPacketDeserializer getDeserializer(String deserializer)
public List<Object> deserialize(org.pcap4j.packet.EthernetPacket packet)
deserialize
in interface IEthernetPacketDeserializer
Copyright © 2023. All rights reserved.