jnetpcap.capture.file.nap
Enum NAPBlock.Flag
java.lang.Object
java.lang.Enum<NAPBlock.Flag>
jnetpcap.capture.file.nap.NAPBlock.Flag
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<NAPBlock.Flag>
- Enclosing interface:
- NAPBlock
public static enum NAPBlock.Flag
- extends java.lang.Enum<NAPBlock.Flag>
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
PacketCount
public static final NAPBlock.Flag PacketCount
SecurityCode
public static final NAPBlock.Flag SecurityCode
Scramble
public static final NAPBlock.Flag Scramble
FullEncryption
public static final NAPBlock.Flag FullEncryption
values
public static final NAPBlock.Flag[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(NAPBlock.Flag c : NAPBlock.Flag.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static NAPBlock.Flag valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
toEnumSet
public static java.util.EnumSet<NAPBlock.Flag> toEnumSet(int flags)
toIntFlag
public static int toIntFlag(java.util.Set<NAPBlock.Flag> blockRecordFlags)
- Parameters:
blockRecordFlags -