Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

## org.ka2ddo.yaac.core
Enum PacketExportMode

    java.lang.Object
      java.lang.Enum<PacketExportMode>
          org.ka2ddo.yaac.core.PacketExportMode

All Implemented Interfaces:
  java.io.Serializable, java.lang.Comparable<PacketExportMode>

    public enum PacketExportMode

extends java.lang.Enum<PacketExportMode>

This enumeration defines the various formats that can be used to write a AX.25 frame to a disk file.

Enum Constant Summary
`COUNTED_BINARY`
`CSV`
`JAVA_SERIALIZED`

Method Summary
`java.lang.String` | `getFileType()`
`java.lang.String` | `toString()` Returns the name of this enum constant, as contained in the declaration.
`static PacketExportMode` | `valueFor(java.lang.String filetype)`
`static PacketExportMode` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
`static PacketExportMode[]` | `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, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Enum Constant Detail

### JAVA_SERIALIZED

    public static final PacketExportMode JAVA_SERIALIZED

### CSV

    public static final PacketExportMode CSV

### COUNTED_BINARY

    public static final PacketExportMode COUNTED_BINARY

Method Detail

### values

    public static PacketExportMode[] 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 (PacketExportMode c : PacketExportMode.values())
          System.out.println(c);

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

### valueOf

    public static PacketExportMode 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

### getFileType

    public java.lang.String getFileType()

### valueFor

    public static PacketExportMode valueFor(java.lang.String filetype)

### toString

    public java.lang.String toString()

  Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum type should override this method when a more "programmer-friendly" string form exists.

  Overrides:
    `toString` in class `java.lang.Enum<PacketExportMode>`
  Returns:
    the name of this enum constant

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD