public enum PacketExportMode extends java.lang.Enum<PacketExportMode>
Enum Constant and Description |
---|
COUNTED_BINARY |
CSV |
JAVA_SERIALIZED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFileType()
Get the file type suffix for this packet export mode.
|
java.lang.String |
toString()
Returns the name of this enum constant, as contained in the
declaration.
|
static PacketExportMode |
valueFor(java.lang.String filetype)
Find the PacketExportMode enum for the specified 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.
|
public static final PacketExportMode JAVA_SERIALIZED
public static final PacketExportMode CSV
public static final PacketExportMode COUNTED_BINARY
public static PacketExportMode[] values()
for (PacketExportMode c : PacketExportMode.values()) System.out.println(c);
public static PacketExportMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getFileType()
public static PacketExportMode valueFor(java.lang.String filetype)
filetype
- String of a filetype that should be supported for YAAC APRS packet log filesjava.lang.IllegalArgumentException
- if the filetype doesn't match any supported modepublic java.lang.String toString()
toString
in class java.lang.Enum<PacketExportMode>