java.io.Serializable
, java.lang.Comparable<SyslogHandler.SyslogType>
public static enum SyslogHandler.SyslogType extends java.lang.Enum<SyslogHandler.SyslogType>
Enum Constant | Description |
---|---|
RFC3164 |
Formats the message according the the RFC-3164 specification (http://tools.ietf.org/html/rfc3164#section-4.1
|
RFC5424 |
Formats the message according the the RFC-5424 specification (http://tools.ietf.org/html/rfc5424#section-6
|
Modifier and Type | Method | Description |
---|---|---|
static SyslogHandler.SyslogType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SyslogHandler.SyslogType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyslogHandler.SyslogType RFC5424
public static final SyslogHandler.SyslogType RFC3164
public static SyslogHandler.SyslogType[] values()
for (SyslogHandler.SyslogType c : SyslogHandler.SyslogType.values()) System.out.println(c);
public static SyslogHandler.SyslogType 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 nullCopyright © 2018. All rights reserved.