org.jnetpcap.packet.format
Enum JFormatter.Priority

java.lang.Object
  extended by java.lang.Enum<JFormatter.Priority>
      extended by org.jnetpcap.packet.format.JFormatter.Priority
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JFormatter.Priority>
Enclosing class:
JFormatter

public static enum JFormatter.Priority
extends java.lang.Enum<JFormatter.Priority>

Priority assigned to JFields. The priority of a field is used to determine which fields to include as part of format Detail.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Enum Constant Summary
HIGH
          High priority fields are included in every type of output.
LOW
          Low priority fields are only included in MULTI_LINE_FULL_DETAIL output type.
MEDIUM
          Medium fields are included in multi line summary type output.
 
Method Summary
static JFormatter.Priority valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JFormatter.Priority[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HIGH

public static final JFormatter.Priority HIGH
High priority fields are included in every type of output.


LOW

public static final JFormatter.Priority LOW
Low priority fields are only included in MULTI_LINE_FULL_DETAIL output type.


MEDIUM

public static final JFormatter.Priority MEDIUM
Medium fields are included in multi line summary type output.

Method Detail

values

public static JFormatter.Priority[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JFormatter.Priority c : JFormatter.Priority.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JFormatter.Priority 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
java.lang.NullPointerException - if the argument is null